Configuration problem whit Varnish and Wordpress

Started by tokar86a, March 03, 2019, 05:01:59 PM

Previous topic - Next topic

tokar86a

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? 

studio4host

cwp has varnish configuration per domain so you can simply edit that config and check what exactly you want to cache.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

tokar86a

Quote from: 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.

But still how should i configure it for the best Performance on Wordpress?

Mary98

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.

emikim

I have the same problem , did you find a solution for that ? thnks