mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 03:20:27 +00:00
Merge pull request #293 from JacobEvelyn/master
Change tracker.js Cache-Control header to no-store
This commit is contained in:
commit
0dd6d41580
@ -75,7 +75,7 @@ func (c *Collector) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
// headers to prevent caching
|
// headers to prevent caching
|
||||||
w.Header().Set("Content-Type", "image/gif")
|
w.Header().Set("Content-Type", "image/gif")
|
||||||
w.Header().Set("Expires", "Mon, 01 Jan 1990 00:00:00 GMT")
|
w.Header().Set("Expires", "Mon, 01 Jan 1990 00:00:00 GMT")
|
||||||
w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
|
w.Header().Set("Cache-Control", "no-store")
|
||||||
w.Header().Set("Pragma", "no-cache")
|
w.Header().Set("Pragma", "no-cache")
|
||||||
|
|
||||||
// response, 1x1 px transparent GIF
|
// response, 1x1 px transparent GIF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user