Skip to content

Commit

Permalink
Bump cache policy for QR images
Browse files Browse the repository at this point in the history
  • Loading branch information
espebra committed Jun 24, 2024
1 parent 48a41f4 commit 9685670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http_bin.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (h *HTTP) viewBin(w http.ResponseWriter, r *http.Request) {
}

func (h *HTTP) binQR(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Cache-Control", "max-age=604800")
w.Header().Set("Cache-Control", "max-age=31536000")
w.Header().Set("X-Robots-Tag", "noindex")

params := mux.Vars(r)
Expand Down

0 comments on commit 9685670

Please sign in to comment.