Control Web Panel

WebPanel => Apache => Varnish => Topic started by: tokar86a on March 03, 2019, 05:01:59 PM

Title: Configuration problem whit Varnish and Wordpress
Post by: tokar86a on March 03, 2019, 05:01:59 PM
Hi

I use the Wordpress Templet for Varnish but when i check my setup whit: https://isvarnishworking.uk/

It gives me this kind of error

Fail...ish! We detected Varnish on that domain, but the content doesn't appear to be cached. Best check your configuration.

It dont seems to be caching anything on my Wordpress blog :(

What can be the problem? 
Title: Re: Configuration problem whit Varnish and Wordpress
Post by: studio4host on March 03, 2019, 08:37:09 PM
cwp has varnish configuration per domain so you can simply edit that config and check what exactly you want to cache.
Title: Re: Configuration problem whit Varnish and Wordpress
Post by: tokar86a on March 03, 2019, 09:16:47 PM
cwp has varnish configuration per domain so you can simply edit that config and check what exactly you want to cache.

But still how should i configure it for the best Performance on Wordpress?
Title: Re: Configuration problem whit Varnish and Wordpress
Post by: Mary98 on April 18, 2019, 04:36:39 AM
Backup the existing vcl file. ...
Create a new VCL file. ...
Open the file in a text editor. ...
Set the configuration version to 4.0. ...
Add a backend server – the Apache 2 web server hosting the site, for example. ...
Only allow cache purges from the localhost or our WordPress host.
Title: Re: Configuration problem whit Varnish and Wordpress
Post by: emikim on October 21, 2019, 02:01:43 PM
I have the same problem , did you find a solution for that ? thnks