chore: add caching headers
All checks were successful
Generate a build and push to Cloudflare Pages / Build and Deploy to Cloudflare Pages (push) Successful in 4m0s

This commit is contained in:
2026-05-11 11:30:56 -04:00
parent 7ff82151d3
commit 962efd0e75

26
public/_headers Normal file
View File

@@ -0,0 +1,26 @@
/*
Cache-Control: public, max-age=3600
/_astro/*
Cache-Control: public, max-age=31536000, immutable
/fonts/*
Cache-Control: public, max-age=31536000, immutable
/fonts2/*
Cache-Control: public, max-age=31536000, immutable
/static/*
Cache-Control: public, max-age=31536000, immutable
/image/*
Cache-Control: public, max-age=2592000
/*.png
Cache-Control: public, max-age=2592000
/*.ico
Cache-Control: public, max-age=2592000
/*.svg
Cache-Control: public, max-age=2592000