Install Varnish for WordPress
Varnish is a front-end cache to speed up your website, such as WordPress.
Installation
sudo apt install varnishsudo cp /lib/systemd/system/varnish.service /etc/systemd/system/
sudo vim /etc/systemd/system/varnish.serviceExecStart=/usr/sbin/varnishd \
-j unix,user=vcache \
-F \
-a :6081 \
-T localhost:6082 \
-f /etc/varnish/default.vcl \
-S /etc/varnish/secret \
-s malloc,256mConfiguration
How do you know if the content is being cached?
Further reading
Need help with Varnish?
Last updated
Was this helpful?