Title: [Plugin: WP Super Cache] Turning Off Re-generating When Importing Posts
Last modified: August 19, 2016

---

# [Plugin: WP Super Cache] Turning Off Re-generating When Importing Posts

 *  [benherbert](https://wordpress.org/support/users/benherbert/)
 * (@benherbert)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-turning-off-re-generating-when-importing-posts/)
 * Hi,
 * Currently overnight I import a product feed automatically into the backend of
   wordpress from a CSV file. However as it imports new posts into the backend of
   wordpress I noticed that it causes the super cache plugin to delete the cached
   file for the homepage/category the post belongs to.
 * Obviously this makes sense when you publish a new article as you want it to be
   listed on the homepage/category immediately when it goes live and not when the
   old cached file expires.
 * Now for me I would like to be able to import all these new posts without it causing
   the plugin to regenerate new category/home pages each time a product goes live.
   I am wondering is this possible and what kind of code would I need to include
   in my script?
 * Thanks,
    Ben

The topic ‘[Plugin: WP Super Cache] Turning Off Re-generating When Importing Posts’
is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [benherbert](https://wordpress.org/support/users/benherbert/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-turning-off-re-generating-when-importing-posts/)
 * Status: not resolved