chore: add Cloudflare Pages caching headers
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
7
static/_headers
Normal file
7
static/_headers
Normal 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
|
||||
Reference in New Issue
Block a user