WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Deleting Older Cache Files (7 posts)

  1. genesteinberg
    Member
    Posted 5 years ago #

    Over a period of a week or so, my installation builds up a couple of thousand expired cache files. Is there any way you can configure WP Super Cache to automatically delete them.

    Peace,
    Gene

  2. Donncha O Caoimh
    Member
    Posted 5 years ago #

    I've changed the code so there's an increased chance that expired files will be deleted. Hopefully I'll make a release some time this week.

  3. genesteinberg
    Member
    Posted 5 years ago #

    Thanks. I'll be watching for it. :)

    Peace,
    Gene

  4. amenadiel
    Member
    Posted 5 years ago #

    Bump to this, I have mounted the cache directory on a tmpfs, so the cached pages sits on RAM thus delivering at blazing speed. BUT, as supercache doesn't clean expired files, I keep getting that tmpfs volume space exhausted. I have 140M allocated to it and I believe that's a lot, isn't it.

  5. genesteinberg
    Member
    Posted 5 years ago #

    It's still not really deleting the files. It also seems to store tags, and a directory can have thousands and thousands of files. As of today, it is not resolved.

    Peace,
    Gene

  6. Donncha O Caoimh
    Member
    Posted 5 years ago #

    I'll increase the chances of a cleanup then. If you want to do that yourself, open wp-cache-phase2.php and search for "500", change that to whatever you like. I'm going to change it to 100.

  7. genesteinberg
    Member
    Posted 5 years ago #

    OK I made the change and I'll let you know what transpires.

    Peace,
    Gene

Topic Closed

This topic has been closed to new replies.

About this Topic