WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Rename cache directory and queue for deletion? (2 posts)

  1. skippybosco
    Member
    Posted 3 years ago #

    I run a large WordPress installation (~17 million pageviews/month) and WP Super Cache does an amazing job with it!

    I use preload and set our supercached files to not expire which results in having 10,000+ files supercached at any given time. This reduces load on the site greatly since many of the older posts do not get updated frequently.

    Where we see issue, however, is when we need to clear the cache for some reason (template changes, etc). The large number of files and folders in combination to the heavy load of the site often times out the administration page when trying to delete cache.

    What we have begun doing is simply renaming the cache folder and allowing a new folder to be created in its place. This result is immediate. We then delete the old cache folder during off-peak time for our site.

    Wondering if it makes sense to do this by default with WP Supercache?

    When the "Delete Cache" folder is pushed it renames the cache directory and a new one is created automatically and the old directory is queued for deletion over time (perhaps making use of the preload cron?).

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    Good idea. I'll have a think about it as it would require some changes to the appropriate page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic