From ef1ba9f97ee6f66d626bafb00ccf04dec7ce9a49 Mon Sep 17 00:00:00 2001 From: patrick Date: Thu, 14 May 2026 06:08:20 -0400 Subject: [PATCH] chore: add Cloudflare Pages caching headers Co-Authored-By: Claude Opus 4.5 --- static/_headers | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 static/_headers diff --git a/static/_headers b/static/_headers new file mode 100644 index 0000000..51cb58c --- /dev/null +++ b/static/_headers @@ -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