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
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:
26
public/_headers
Normal file
26
public/_headers
Normal 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
|
||||||
Reference in New Issue
Block a user