3 days ago I have install caddy on my VPS, how to using gzip on caddy?
Hi @anggiadiputra, welcome to the Caddy community!
Have you tried adding
gzip to your Caddyfile?
Looks good to me!
there a better configuration for my wordpress?
A higher compression level is slower. The default is a better mix of compression and speed for mixed content. I’d probably just use
gzip on its own, without overriding the defaults.
How to set up expired header ?
You can set headers with the
You could also download Caddy with the optional
expires plugin and use that instead of manually setting the header.