mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-30 04:10:25 +08:00
可以在缓存条件里设置Expires Header
This commit is contained in:
@@ -11,3 +11,11 @@ func TestUnixTime(t *testing.T) {
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
}
|
||||
|
||||
func TestGMTUnixTime(t *testing.T) {
|
||||
t.Log(GMTUnixTime(time.Now().Unix()))
|
||||
}
|
||||
|
||||
func TestGMTTime(t *testing.T) {
|
||||
t.Log(GMTTime(time.Now()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user