Title: Cache Purging Issues
Last modified: October 6, 2019

---

# Cache Purging Issues

 *  Resolved [cryptozink](https://wordpress.org/support/users/cryptozink/)
 * (@cryptozink)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-purging-issues/)
 * Hello, I love the plugin and will upgrade in the next couple of weeks. I have
   a serious issue though. I have to manually purge the cache for my new posts on
   the [cryptocurrency news](https://www.cryptozink.io/news/) section of the site
   to show. Have I ticked on/off a setting that’s causing the problem?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcache-purging-issues%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/cache-purging-issues/#post-12003764)
 * Hello,
 * This is currently the expected behaviour.
    We’re adding some rules for purging
   related pages such as category archives, the main blog page…, but it’s not ready
   yet.
 * If you want to clear a specific page (such as your news page), you can insert
   the following code in your theme’s functions.php (if it’s a child theme) or in
   a mu-plugin.
 *     ```
       add_action('save_post', function($post_id, $post) {
           if ( 'post' == $post->post_type ) {
               WPO_Page_Cache::delete_cache_by_url('https://www.cryptozink.io/news/');
           }
       }, 20, 2);
       ```
   
 * That way, every time a post is saved (edited or added), the news page will be
   purged.
 * Regards,
 * Marc.
 *  Thread Starter [cryptozink](https://wordpress.org/support/users/cryptozink/)
 * (@cryptozink)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/cache-purging-issues/#post-12007244)
 * Thanks for the quick fix. I’ve added and will test when the next article is published.
   Again, I’m going to upgrade this week.
 *  Thread Starter [cryptozink](https://wordpress.org/support/users/cryptozink/)
 * (@cryptozink)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/cache-purging-issues/#post-12037187)
 * I upgraded to premium version as promised for my site [crytpozink](https://www.cryptozink.io/),
   turned on lazy load and my site speed shot up. Just wanted to complement you 
   guys. I already gave an excellent review.
 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/cache-purging-issues/#post-12037765)
 * Thank you for the kind words! Glad it works well for you.
 * Marc.

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

The topic ‘Cache Purging Issues’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/cache-purging-issues/#post-12037765)
 * Status: resolved