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
Many frameworks allow the pre-compressing of static assets using Brotli and gzip and they are compiled out with [filename].br or similar extension. With Caddy's precompressed option its possible for Caddy to serve these instead of gzipping on the fly for improved performance.
A (hopefully) quick and easy feature request: Activate the
precompressed
option for thefile_server
directive in Caddy: https://caddyserver.com/docs/caddyfile/directives/file_serverMany frameworks allow the pre-compressing of static assets using Brotli and gzip and they are compiled out with [filename].br or similar extension. With Caddy's
precompressed
option its possible for Caddy to serve these instead of gzipping on the fly for improved performance.I'm hoping its as easy as adding a line in https://github.com/getmeli/meli/blob/beta/server/src/caddy/definitions/handlers.d.ts#L111
The Caddy config should be:
This article explains it well: https://austindw.com/precompressed-assets-caddy/
What do you think?
The text was updated successfully, but these errors were encountered: