Skip to content

Commit

Permalink
Merge pull request #293 from JacobEvelyn/master
Browse files Browse the repository at this point in the history
Change tracker.js Cache-Control header to no-store
  • Loading branch information
JackEllis authored Feb 14, 2020
2 parents f7c91b5 + c461afa commit 0dd6d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/collect.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (c *Collector) ServeHTTP(w http.ResponseWriter, r *http.Request) {
// headers to prevent caching
w.Header().Set("Content-Type", "image/gif")
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")

// response, 1x1 px transparent GIF
Expand Down

0 comments on commit 0dd6d41

Please sign in to comment.