Skip to content

perf(build): serve hashed assets from /_app with immutable caching - #174

Merged
wgordon17 merged 1 commit into
gordon-code:mainfrom
wgordon17:feat/site-modernization-pr2
Oct 29, 2026
Merged

wgordon17 merged 1 commit into
gordon-code:mainfrom
wgordon17:feat/site-modernization-pr2

Conversation

@wgordon17

Copy link
Copy Markdown
Member

Summary

  • Move client Vite hashed build artifacts to /_app/ with 1-year immutable cache headers in public/_headers and add public/.nojekyll for static deployments
  • Return 404 Not Found with Cache-Control: no-store and SECURITY_HEADERS in the Worker when missing /_app/* chunk requests fall back to SPA HTML
  • Extend the WAF smoke test runner to support comma-delimited expected status codes and document the WAF Path Allowlist and static asset caching in DEPLOY.md

@wgordon17
wgordon17 force-pushed the feat/site-modernization-pr2 branch from 5efcd92 to 8ca7395 Compare October 29, 2026 02:24
@wgordon17 wgordon17 changed the title perf(build): serve hashed assets from /_app with immutable caching and 404 stale chunks perf(build): serve hashed assets from /_app with immutable caching Oct 29, 2026
@wgordon17
wgordon17 marked this pull request as ready for review October 29, 2026 15:38
@wgordon17
wgordon17 requested a review from a team October 29, 2026 15:38
@wgordon17
wgordon17 force-pushed the feat/site-modernization-pr2 branch from 8ca7395 to 07eb50e Compare October 29, 2026 17:12
@wgordon17
wgordon17 merged commit bd32e0c into gordon-code:main Oct 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant