Skip to content

Commit

Permalink
Bump cache to 7 days
Browse files Browse the repository at this point in the history
  • Loading branch information
abatilo committed Aug 27, 2023
1 parent afdef8e commit 9302e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var resume []byte

func main() {
http.ListenAndServe(":80", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Cache-Control", "public, max-age=172800")
w.Header().Set("Cache-Control", "public, max-age=604800")
w.Header().Set("Content-Type", "application/pdf")
w.Write(resume)
}))
Expand Down

0 comments on commit 9302e53

Please sign in to comment.