rockbaer
Member
Posted 3 months 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/
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/
rockbaer
Member
Posted 3 months 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
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.
rockbaer
Member
Posted 3 months ago #
Cool, that works - thank you very much!
rockbaer
Member
Posted 3 months ago #
+++ IMPORTANT +++
Don't delete the .htaccess in the "min"- and "pgcache"-folder!