chore: add caching headers
Generate a build and push to Cloudflare Pages / Build and Deploy to Cloudflare Pages (push) Successful in 4m0s
Generate a build and push to Cloudflare Pages / Build and Deploy to Cloudflare Pages (push) Successful in 4m0s
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user