This entry is based on a need that I came across using the great WordPress “Quick Cache” plug in. While I found the plug in to be perfect for my needs (and much more compatible than “W3 Total Cache” or “WP Super Cache“) I was running into daily ISP requests from my service provider that the “cache” folder was filling up rapidly with 1000’s of files causing what they call “Maxdir size limit alert”
The official memo was:
wp-content/cache/ are exceeding the maxdir size limit. This directory is filling up with thousands of files rapidly, causing issues for the server.
To be honest I didn’t see a working section in the “Quick Cache” plugin to deal with this issue
(which is to empty the cache folder daily or more)
So I came up with a solution: Continue reading WordPress: Quick Cache Plugin – Setting up a Custom ‘Empty Cache’ Script