Purge Varnish button on dashboard doesn’t work.
-
It seems like the plugin does clear the varnish cache properly when I update pages, but it doesn’t work when I update a theme, or even update a product in Woocommerce. Those things I can handle, they’re not a big deal as long as I can purge the entire cache when I’m done making changes.
However, when I hit the “Purge Varnish” button on the dashboard, WordPress reports the cache has been purged, but in fact, it hasn’t. If I look at my resources in the chrome developer tools, they still show an age that’s increasing and it’s not set back to zero.
I also seem to get
- Debug "VCL_error(200, Purged)"
reported from my varnish server.Here is what I have for my varnish purge code in my .vcl file as well:
if (req.method == "PURGE") { if ( !client.ip ~ purge ) { return (synth(405, "Not allowed.")); } return (purge); }
I do have my varnish running on another host with nginx in front of it to remove SSL and ha-proxy behind it to load balance over two application nodes.
- The topic ‘Purge Varnish button on dashboard doesn’t work.’ is closed to new replies.