WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Turning Off Re-generating When Importing Posts (1 post)

  1. benherbert
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic