You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add immutable cache headers for Vite build assets
Vite-built assets (JS chunks, CSS) were served with no-cache headers
because the static files middleware only recognized builder-path assets
(under /_fresh/js/{BUILD_ID}/) as immutable.
Add an `immutable` flag to the file snapshot interface. The Vite plugin
marks manifest chunks and CSS as immutable (content-hashed filenames),
while public directory files remain non-immutable. The middleware checks
this flag alongside the existing path and query param checks.
Closes#3282
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments