Gzip
Last updated
Was this helpful?
Last updated
Was this helpful?
Middleware gzip provides compress to responses for Macaron . Make sure to register it before other middlewares that write content to response.
In this case, the static files will not be compressed by Gzip, to compress them:
Or you can choose to only compress a group of routes' responses:
This service comes with a variety of configuration options():