fix: prevent resume.pdf from being cached immutably
Generate a build and push to Cloudflare Pages / Build and Deploy to Cloudflare Pages (push) Successful in 1m24s
Generate a build and push to Cloudflare Pages / Build and Deploy to Cloudflare Pages (push) Successful in 1m24s
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
/fonts2/*
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
|
||||
# resume.pdf changes under a stable filename, so it must revalidate
|
||||
# (unlike the hashed/never-changing assets below).
|
||||
/static/resume.pdf
|
||||
Cache-Control: public, max-age=3600, must-revalidate
|
||||
|
||||
/static/*
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user