Title: Clear REST Cache
Last modified: May 15, 2020

---

# Clear REST Cache

 *  Resolved [Austin](https://wordpress.org/support/users/austyfrosty/)
 * (@austyfrosty)
 * [6 years ago](https://wordpress.org/support/topic/clear-rest-cache/)
 * Awesome plugin.
 * Wondering if there is a way to speed up the clear cache. In my case I’ve got 
   over 30K entries, and running the clear is a long running process +40 min.
 * Also, is there a delete all vs flush option that could be added? It’s not feasible
   to use the bulk edit actions with that many entries.

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

 *  Thread Starter [Austin](https://wordpress.org/support/users/austyfrosty/)
 * (@austyfrosty)
 * [6 years ago](https://wordpress.org/support/topic/clear-rest-cache/#post-12845026)
 * I see that your are using the posts_per_page option which isn’t ideal. At least
   add a setting or filter for this request, so the value can be changed. Iterating
   though thousands of caches 10 at a time is not awesome.
 *  Plugin Author [Acato](https://wordpress.org/support/users/acato/)
 * (@acato)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/clear-rest-cache/#post-13059030)
 * Hi [@austyfrosty](https://wordpress.org/support/users/austyfrosty/)
 * Thank you for using our plugin! And sorry for respondng this late, we have been
   quite busy lately.
 * The good news is, we have also been busy to improve our WP REST Cache plugin 
   and have implemented solutions for your questions. So we have speeded up the 
   process of clearing the cache (we clear them all at once, so no more posts_per_page).
   And we have also added an option to delete all (vs flush all) if you visit the
   Settings > WP REST Cache > Clear Caches tab.
 * All these changes will be in our upcoming release, they first need to be reviewed
   internally, but I expect we will be able to release it soon.
 *  Plugin Author [Richard Korthuis](https://wordpress.org/support/users/rockfire/)
 * (@rockfire)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/clear-rest-cache/#post-13062577)
 * Hi [@austyfrosty](https://wordpress.org/support/users/austyfrosty/)
 * We just released a new version of our plugin which includes the mentioned fixes.

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

The topic ‘Clear REST Cache’ is closed to new replies.

 * ![](https://ps.w.org/wp-rest-cache/assets/icon-256x256.png?rev=3328849)
 * [WP REST Cache](https://wordpress.org/plugins/wp-rest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rest-cache/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Richard Korthuis](https://wordpress.org/support/users/rockfire/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/clear-rest-cache/#post-13062577)
 * Status: resolved