- Add web/pages.json documenting Pages project settings and data paths - Add web/public/_headers for cache control on static assets - Add web/public/robots.txt for SEO - Add web/public/data/ placeholder structure for index files - leaderboard.json - bots/index.json - matches/index.json - Update PROGRESS.md marking Phase 5 complete Phase 5 is now complete. Ready for Phase 6 (Deployment & Production). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
420 B
Text
18 lines
420 B
Text
# Cache control for static assets
|
|
# HTML files - no cache (always fresh)
|
|
/*.html
|
|
Cache-Control: no-cache
|
|
|
|
# JS assets - immutable (hashed filenames)
|
|
/assets/*
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
# Data files - short cache (updated by index builder)
|
|
/data/*
|
|
Cache-Control: public, max-age=300
|
|
|
|
# Default
|
|
/*
|
|
X-Content-Type-Options: nosniff
|
|
X-Frame-Options: DENY
|
|
X-XSS-Protection: 1; mode=block
|