Wordpress Doesnt Detect Varnish
When i try to configure Varnish Purge. There is a warning saying We did not find Varnish active for this domain. Is this normal or something is wrong on my server?
Hmmmm I have not checked the new major version of the Varnish plugin. It's really designed for Dreamhost so it's possible I need to fake something for it. I'll investigate.
Ok thank you. let me know once you find a solution.
I've just installed a fresh version of WordPress 4.7 and the Varnish plugin version 4.0.2. If I click on "Purge Varnish", I don't get an error. Do you have any more details on your current setup?
Does wordpress detect varnish or does the responses has varnish headers?
Neither WordPress nor Varnish detect each other. Varnish has special rules for dealing with WordPress requests or response, but it doesn't know if they came from WordPress per say.
If Varnish is active, you should have some special headers in your response like x-cache and x-cache-hits. If they're not there then, it's possible that Varnish isn't running on the server.
I feel like a bit of an idiot for not thinking of it sooner, but did you add the directives in the wiki?
Is this still an issue @zedrickvillas?
@carlalexander this is an issue for me. I made sure the right directives were in the vars and tried removing and reinstalling the plugin. I do have the x-cache headers, but the varnish plugin does not detect varnish.
Do you have a link to the site in question @georgiemathews?
I'm going to close this for now. You can reopen the issue again if you still have a problem @georgiemathews!
I am getting the error "We did not find Varnish active for this domain." in the "Varnish HTTP Purge" plugin...

I have followed the following instructions https://github.com/carlalexander/debops-wordpress/wiki/How-to-configure-Varnish
Varnish is running:
