Title: Delete cache when new posts are published.
Last modified: March 8, 2017

---

# Delete cache when new posts are published.

 *  Resolved [unicco](https://wordpress.org/support/users/unicco/)
 * (@unicco)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/delete-cache-when-new-posts-are-published/)
 * This topic relates to your cache extension plugin.
 * Could you please change this, so it only clears the post I actually update? On
   small sites, with few categories the fully-clearing makes perfect sense. However,
   on larger sites, it’s really annoying it clears 100% cached pages – whereas the
   only one really needed to be flushed is post-id 32100 (etc.). I know you build
   the cache into page-collections, and clearing the specific collection would work
   aswell.

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

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/delete-cache-when-new-posts-are-published/#post-8889146)
 * That would be nice and it’s a good idea if each post was cached individually.
   However, they are cached in groups so this could get really tricky.
 * I am planning to look into automatic cache generation in the near future.
 *  Thread Starter [unicco](https://wordpress.org/support/users/unicco/)
 * (@unicco)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/delete-cache-when-new-posts-are-published/#post-8893339)
 * Yes, it’d preferable if the cache was made individually instead of on a grouped
   basis. It might have a small impact on performance, but as long as the file/product
   is being retrieved statically, I think the performance-difference would be unnoticeable.
   It would more friendly towards changing the shortcode args aswell (for instance
   the posts_per_page arg).
 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/delete-cache-when-new-posts-are-published/#post-8893640)
 * I’m not changing the way the cache is grouped.
 * I was referring to how the cache is built. I’m working on a solution to build
   the cache in the background.
 * Cheers
 *  Thread Starter [unicco](https://wordpress.org/support/users/unicco/)
 * (@unicco)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/delete-cache-when-new-posts-are-published/#post-8925233)
 * Alright :-).
 * Is it possible that you could send a mail-notification whenever one of your extensions
   is updated? Could be pretty awesome – otherwise I’ve to check manually every 
   week, to see if a new update has been released.

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

The topic ‘Delete cache when new posts are published.’ is closed to new replies.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [unicco](https://wordpress.org/support/users/unicco/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/delete-cache-when-new-posts-are-published/#post-8925233)
 * Status: resolved