update speed

This commit is contained in:
2026-06-04 20:10:32 +08:00
parent 2ebc8ab9dd
commit 3325bc52ef
34 changed files with 123 additions and 8 deletions
+36
View File
@@ -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