可以在缓存条件里设置Expires Header

This commit is contained in:
GoEdgeLab
2021-12-08 17:41:39 +08:00
parent 54bf0ab39d
commit c96406ff64
3 changed files with 38 additions and 1 deletions

View File

@@ -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()))
}