chore: enhance the gzip and cacheable handling of static files

Add SVG and ICO to cacheable files.
Emit robots.txt directly.
Recognize WOFF2 (font) files as assets (so the get the immutable treatment)
Pre-gzip the entire /static/ directory (not just /static/assets/) and include SVG, ICO, and HTML files
Ensure fonts.css is processed by vite/rollup so that the preload and css reference the same immutable files (which get long-cached with hashes)
Add CircularXXWeb-Black to the preload list as it is used in the hot-path.
Handle system-driven color-scheme changes from dark to light correctly.
This commit is contained in:
Marc Brooks
2025-09-12 01:41:41 -05:00
committed by GitHub
parent 33e099f258
commit ca8b06f4cf
5 changed files with 41 additions and 24 deletions

View File

@@ -1,2 +0,0 @@
User-agent: *
Disallow: /