Permalink
Browse files

Add "private" back to response cache-control header

  • Loading branch information...
chhh committed Mar 19, 2018
1 parent 9df00f8 commit 64a39b0c1b6ac315111329fc3b5a214996454da6
Showing with 1 addition and 1 deletion.
  1. +1 −1 ga-beacon.go
View
@@ -146,7 +146,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
if len(cid) != 0 {
var cacheUntil = time.Now().Format(http.TimeFormat)
w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate, private")
w.Header().Set("Expires", cacheUntil)
w.Header().Set("CID", cid)

0 comments on commit 64a39b0

Please sign in to comment.