chore: add Cloudflare Pages caching headers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-05-14 06:08:20 -04:00
parent 1c5691b957
commit ef1ba9f97e

7
static/_headers Normal file
View File

@@ -0,0 +1,7 @@
# Immutable assets (hashed filenames)
/_app/immutable/*
Cache-Control: public, max-age=31536000, immutable
# HTML and other assets - cache 1 hour, then revalidate
/*
Cache-Control: public, max-age=3600, must-revalidate