Title: automatic clear cache
Last modified: November 26, 2020

---

# automatic clear cache

 *  Resolved [mhm2006](https://wordpress.org/support/users/mhm2006/)
 * (@mhm2006)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/automatic-clear-cache/)
 * Dears,
    How To make the plugin automatic clear cache after 6 hours ? BR,

Viewing 1 replies (of 1 total)

 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/automatic-clear-cache/#post-13736790)
 * Hi there,
    You can set the cache lifespan to 6 hours. This will not clear the
   whole cache, but any page visited will be regenerated if it’s older than that
   time. If you want to literally clear the cache, you’ll have to setup your own
   CRON event, and purge the cache using WP-Optimize’s methods (see [Purging the cache from an other plugin or theme](https://getwpo.com/documentation/#Purging-the-cache-from-an-other-plugin-or-theme)
   on our website).
 * Best regards,
    Marc.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/automatic-clear-cache/#post-13736790)
 * Status: resolved