update speed
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# Cache static assets for 1 year (content hashed filenames ensure cache busting)
|
||||
/_astro/*
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
|
||||
# Fonts — cache for 1 year
|
||||
/fonts/*
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
|
||||
# Images — cache for 1 year
|
||||
/images/*
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
|
||||
# HTML pages — no cache (always fetch latest)
|
||||
/index.html
|
||||
Cache-Control: no-cache
|
||||
|
||||
/about/*
|
||||
Cache-Control: no-cache
|
||||
|
||||
/curriculum/*
|
||||
Cache-Control: no-cache
|
||||
|
||||
/faculty/*
|
||||
Cache-Control: no-cache
|
||||
|
||||
/teaching-philosophy/*
|
||||
Cache-Control: no-cache
|
||||
|
||||
/en/*
|
||||
Cache-Control: no-cache
|
||||
|
||||
/ja/*
|
||||
Cache-Control: no-cache
|
||||
|
||||
/fr/*
|
||||
Cache-Control: no-cache
|
||||
Reference in New Issue
Block a user