lume
lume copied to clipboard
Serve precompressed files
Enter your suggestions in details:
The Lume Server could have an option (or a middleware) to allow to serve precompressed files (for example, the file /index.html.gz for gzip encoding, /index.html.zst for zstd ((Zstandard) ) encoding and /index.html.br for br (Brotli) encoding.
References:
- https://nginx.org/en/docs/http/ngx_http_gzip_static_module.html
- https://caddyserver.com/docs/caddyfile/directives/file_server#precompressed
- https://hono.dev/docs/getting-started/deno#precompressed
- https://github.com/fastify/fastify-static?tab=readme-ov-file#precompressed
- https://github.com/koajs/static?tab=readme-ov-file#options
- https://kit.svelte.dev/docs/adapter-static#options-precompress