WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] Empty Cache at a specific time (6 posts)

  1. Sebastian
    Member
    Posted 2 years ago #

    First of all your plugin is awesome! I really adore it and I use it on two WordPress-Installations.

    On one of them and for some circumstances it's really necessary, that the cache will be automatically be emptied/deleted at 6 o'clock every morning.

    Is there a quick and easy way to do this modification? I ping automatically every 15mins the wp-cronjob, so that could be a hint for an easy solution?

    Best regards from Berlin,
    Sebastian

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    The easiest way is to make a cron job on your server directly that would empty the various directories inside wp-content/w3tc/ like pgcache/

  3. Sebastian
    Member
    Posted 2 years ago #

    Thx, Frederick for your answer! That will help me a lot.

    So is it that easy to just empty all of these folders?
    dbcache, log, min, objectcache, pgcache, tmp

  4. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    That's right. But you'll only want to do this once per day at the most as a fail safe if W3TC cannot do it itself.

    Meanwhile, keep in mind that caches should only be cleared when content has actually changed.

  5. Sebastian
    Member
    Posted 2 years ago #

    Cool, that works - thank you very much!

  6. Sebastian
    Member
    Posted 2 years ago #

    +++ IMPORTANT +++

    Don't delete the .htaccess in the "min"- and "pgcache"-folder!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic