Title: Programmatically clear cache
Last modified: January 22, 2019

---

# Programmatically clear cache

 *  Resolved [thrivehive](https://wordpress.org/support/users/thrivehive/)
 * (@thrivehive)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/programmatically-clear-cache/)
 * I’m upgrading 100’s of WordPress sites from 4.x to 5.x. All of these sites use
   WP Fastest Cache. I need a programatic way to clear the cache on these sites.
   Is there a way to trigger a clear outside of the admin UI (wp-settings, wp-cli,
   etc)?
    -  This topic was modified 7 years, 4 months ago by [thrivehive](https://wordpress.org/support/users/thrivehive/).

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

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/programmatically-clear-cache/#post-11119129)
 * the following tutorial may help you.
 * [https://www.wpfastestcache.com/features/clear-cache-via-url/](https://www.wpfastestcache.com/features/clear-cache-via-url/)
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/programmatically-clear-cache/#post-11645902)
 * I added this feature. You can clear cache with WP-CLI. You need to delete wp 
   fastest cache and download the following version to get the latest changes.
 * [https://downloads.wordpress.org/plugin/wp-fastest-cache.zip](https://downloads.wordpress.org/plugin/wp-fastest-cache.zip)
 * You can get the details about how to use via the following link.
 * [https://www.wpfastestcache.com/features/wp-cli-commands/](https://www.wpfastestcache.com/features/wp-cli-commands/)

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

The topic ‘Programmatically clear cache’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/programmatically-clear-cache/#post-11645902)
 * Status: resolved