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
Adds support for serving pre-compressed static files with .br, .gz, or .zst
extensions. When enabled via --static-path-precompressed, the server will:
- Check Accept-Encoding header for supported encodings (br, gzip, zstd)
- Serve compressed sidecar files if they exist (e.g., file.js.br for file.js)
- Respect client q-value priorities for encoding selection
- Fall back to uncompressed file if no sidecar exists
- Use lazy caching to avoid repeated filesystem checks for sidecars
Works with the existing multi-mount and dir-to-file rewrite features.
0 commit comments