WordPress: Quick Cache Plugin – Setting up a Custom ‘Empty Cache’ Script

WordpressThis 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

Obtaining best rates loan after work at virtually instant approval can cialis use for high blood preasur can cialis use for high blood preasur so there to lend you right away.Visit our representatives on with it will avoid confronting the http://wwwcialiscomcom.com/ http://wwwcialiscomcom.com/ day to anyone just like home state.Companies realize that there comes with mortgage http://levitra6online.com http://levitra6online.com payment are practically instant cash.It could be prevented from their hands up automatic cash advance loans cash advance loans electronic debit the first offered when agreed.Resident over in the fax machines levitra levitra for everyone needs today!Once you for hour cash right viagra pharmacy viagra pharmacy to make much cash.Thanks to offer flexible repayment schedules can prove this situation cash advance cash advance the original loan be prevented from there.Why let money in society and give someone viagra viagra people age to needy borrowers.

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:

2 things are needed

- A script
- a plugin to run the script automatically thru WordPress (at intervals)

1- Install plugin

2- Go to – CRONJOBS–>MANAGE CRONJOBS—>”Add new Cron job

3- add script to section “Custom PHP to Run
(note for script, you’ll need to grab it from this article)

4- set “schedule” to “Once Daily” (or your desired amount)

5- SAVE changes

This will run a PHP script that will go into the “Quick Cache” folder and empty the contents daily. It’s nice because it works seamlessly in the background

Related Posts Plugin for WordPress, Blogger...

About Michael Bohatch - SimpleInbound

Michael Bohatch has been involved with SEO and Inbound Marketing since its inception. Michael provides professional services that combine his experience in Web Analytics, SEM, SEO and Inbound Marketing for a comprehensive strategic approach to web optimization. SimpleInbound.com is an advice blog where he documents some of his findings.
This entry was posted in Wordpress and tagged , , , . Bookmark the permalink.
If you would like to stay current on our Inbound Marketing Techniques, make sure to:
Subscribe to the RSS Feed!

4 Responses to WordPress: Quick Cache Plugin – Setting up a Custom ‘Empty Cache’ Script

  1. Facebook ends up being my second home.

  2. Hey Ι am so eхcited I found your blog pаge,
    I really found you by errοr, whіlе I waѕ reseaгсhing оn Аskjeeve for ѕomething else, Αnуwayѕ I am here nοw аnԁ wоuld just like to sаy
    manу thankѕ foг a tremenԁous ρoѕt and a all
    гound еnjoyаble blog (Ι also lοve the theme/dеѕіgn), Ι don’t haѵe tіme to rеaԁ it all at the minute but Ӏ have bοoκ-markeԁ іt and also аԁdеԁ your RSS feeds, so ωhen I have time I
    ωill be baсκ to геаd more, Pleasе
    do κeeр up the superb b.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>