Title: Issue clearing cache with the &#039;cache clear&#039; button
Last modified: August 21, 2016

---

# Issue clearing cache with the 'cache clear' button

 *  Resolved [binarymoon](https://wordpress.org/support/users/binarymoon/)
 * (@binarymoon)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/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
 * [http://wordpress.org/plugins/varnish-http-purge/](http://wordpress.org/plugins/varnish-http-purge/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 6 months ago](https://wordpress.org/support/topic/issue-clearing-cache-with-the-cache-clear-button/#post-4430528)
 * Out of curiosity, does it work when you update a post or a page?
 * I’ve seen this happen to one other person but he had a bajillion plugins, all
   of which were slaughtering things left and right.
 *  Thread Starter [binarymoon](https://wordpress.org/support/users/binarymoon/)
 * (@binarymoon)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/issue-clearing-cache-with-the-cache-clear-button/#post-4430660)
 * The site I am working on doesn’t currently have a blog – it’s all pages – however
   I can add and edit pages just fine so I assume that’s working.
 *  Plugin Contributor [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 6 months ago](https://wordpress.org/support/topic/issue-clearing-cache-with-the-cache-clear-button/#post-4430761)
 * Post/Page same idea here 😉
 * Okay, so that’s … kinda good. It means it IS running, just not the full purge.
   Since you’re command line savvy, can you press the purge button and then type
   this to see if it’s actually running the command?
 *     ```
       varnishlog -d -c -m RxURL:.*vhp_flush_all.*
       ```
   
 * It dumps a whole mess of input, I know :/ The goal is to see if it’s actually
   sending the flush command. Assuming it is, get the TxHeader date:
 * `16 TxHeader c Date: Fri, 20 Dec 2013 00:23:34 GMT`
 * Then run this:
 *     ```
       varnishlog -d -c -m RxRequest:PURGE
       ```
   
 * And grab the date too:
 *     ```
       20 TxHeader     c Date: Fri, 20 Dec 2013 00:23:33 GMT
       ```
   
 * They SHOULD be within seconds of each other 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Issue clearing cache with the 'cache clear' button’ is closed to new 
replies.

 * ![](https://ps.w.org/varnish-http-purge/assets/icon-256x256.png?rev=3027185)
 * [Proxy Cache Purge](https://wordpress.org/plugins/varnish-http-purge/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/varnish-http-purge/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/varnish-http-purge/)
 * [Active Topics](https://wordpress.org/support/plugin/varnish-http-purge/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/varnish-http-purge/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/varnish-http-purge/reviews/)

## Tags

 * [Dreampress](https://wordpress.org/support/topic-tag/dreampress/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/issue-clearing-cache-with-the-cache-clear-button/#post-4430761)
 * Status: resolved