• Steven's avatar
    fix(server): reduce static asset cache to prevent stale files after redeploy · 91a7e927
    Steven authored
    Changed Cache-Control max-age from 7 days to 1 hour with immutable directive.
    This prevents users from experiencing blank pages or JS errors when accessing
    frequently redeployed instances (e.g., demo environments) where old cached
    assets may reference files that no longer exist after redeployment.
    
    Since Vite generates content-hashed filenames, the immutable directive prevents
    unnecessary revalidation while the shorter cache duration ensures fresh assets
    are served within an hour of redeployment.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
    91a7e927
Name
Last commit
Last update
..
dist Loading commit data...
frontend.go Loading commit data...