Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] Empty Cache at a specific time

  • Resolved Sebastian


    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,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frederick Townes


    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/

    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

    Plugin Author Frederick Townes


    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.

    Cool, that works – thank you very much!

    +++ IMPORTANT +++

    Don’t delete the .htaccess in the “min”- and “pgcache”-folder!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: W3 Total Cache] Empty Cache at a specific time’ is closed to new replies.