# Cloudflare Pages 响应头（v8 sharp）
# 静态资源：浏览器缓存 7 天，过期后 30 天内先用旧的、后台再验证（资源文件名不带哈希，所以不用 immutable 一年，避免改了模型用户一直看旧的）
/assets/*
  Cache-Control: public, max-age=604800, stale-while-revalidate=2592000
# 资源清单要随部署立即生效
/assets/pack.json
  ! Cache-Control
  Cache-Control: public, max-age=0, must-revalidate
# three.js 发行版：同上（文件名不带版本号，升级 three 时不能让用户卡在旧版一年）
/vendor/*
  Cache-Control: public, max-age=604800, stale-while-revalidate=2592000
# 页面 / 脚本 / 样式：每次验证（ETag → 304），改动立即生效
/*.html
  Cache-Control: public, max-age=0, must-revalidate
/js/*
  Cache-Control: public, max-age=0, must-revalidate
/css/*
  Cache-Control: public, max-age=0, must-revalidate
/sw.js
  Cache-Control: no-cache
