Is Varnish available with N99panel?

Category: General

Yes. Varnish, a page caching servicem is available under N99panel.

By default Varnish is not enabled for a website/VHost. When you wish to use Varnish w.r.t. your website, within N99panel’s console, go to details/mgmt menu of the website/Vhost. There you would have the link/button to manage Varnish.

There are three options for Varnish mgmt. – enable, disable and purge/delete varnish cache.

With WordPress you can easily use Varnish and enable auto-purging of content (when it changes), by using the Proxy Cache plugin .

Very important : When you are doing design/coding changes of your website, please disable Varnish in that case. Varnish cache or any cache for that matter should only be enabled in production ready mode.

The Varnish configuration is primarily optimized for WordPress setups. But there may be scenarios in a WordPress setup whereby the Varnish cache does not work ideally. To try to make it work, you need to visit the ‘Varnish Config’ from N99panel dashboard, and select the next higher number of the config file. By default varnish-wordpress-1.vcl is selected. When you enable a higher number VCL file, you should check all parts/sections of your websites specifically those which require authentication or sessions or cookies.

Please remember that the Varnish config selection applies to the whole VPS.