3 days ago I have install caddy on my VPS, how to using gzip on caddy?
only this
gzip {
level 8
min_length 1
}
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.
ok.
How to set up expired header ?
You can set headers with the header
directive.
https://caddyserver.com/docs/header
You could also download Caddy with the optional expires
plugin and use that instead of manually setting the header.
thanks sir
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.