3 ms·
If gzip is enabled, is the gzipped version of a static file cached in memory, or is it gzipped anew for each request?
by layer8 4y ago
If gzip is enabled, is the gzipped version of a static file cached in memory, or is it gzipped anew for each request?
- mholt 4y agoCaddy doesn't cache responses by default, but you can enable caching with the cache plugin: https://github.com/caddyserver/cache-handler/ https://github.com/caddyserver/cache-handler/
- oynqr 4y agoDoes this apply to static file serving? Although I suppose relying on the OS cache might be enough.