Skip to content
This repository was archived by the owner on Oct 15, 2023. It is now read-only.

Commit 2e6de61

Browse files
authored
v0.4.13: LatestRelease <- Development
Merge pull request #43 from NineNineFive/Development
2 parents 8e0993c + e2b46fb commit 2e6de61

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

fileserver/fileserver.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ func setHeaders(response http.ResponseWriter, request *http.Request) http.Respon
6464

6565
// response.Header().Add("Cache-Control", "max-age=31536000, immutable")
6666

67+
response.Header().Set("Cache-Control", "no-store, no-cache, must-revalidate")
68+
response.Header().Set("Expires", "Thu, 01 Jan 1970 00:00:00 GMT")
6769
return response
6870
}
6971

tests/main/frontend/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
<head>
44
<meta charset="UTF-8">
55
<title>Frontend Test</title>
6+
<meta http-equiv="cache-control" content="max-age=0" />
67
</head>
78
<body>
8-
Frontend Test
9+
Frontend Test3
910
</body>
1011
</html>

0 commit comments

Comments
 (0)