Issue clearing cache with the 'cache clear' button
-
Hi
I’m using the varnish-http-purge plugin with DreamPress.
If I press the ‘Purge Varnish Cache’ button on the WordPress dashboard then the cache doesn’t clear. However if I login via ssh and use the DreamPress instructions (using curl -X purge) to clear cache then it works as expected.
Currently all I want to do is clear the theme cache. Specifically images and css. I tried using the css version number in wp_enqueue_styles but that didn’t have any effect (perhaps varnish on DreamPress is not configured to use query params?).
Reading the docs it said that switching themes would also clear the cache, but that didn’t seem to work either.
The theme is totally custom, and there’s no plugins running besides the default Dreampress ones.
Hopefully I haven’t done anything stupid that’s stopping this from working properly ??
I should add that this isn’t super urgent. It would be nice if it worked, but I’m happy to use ssh for the time being.
Thanks
- The topic ‘Issue clearing cache with the 'cache clear' button’ is closed to new replies.