I have a site with 9000 posts and those posts have external images and they are not stored on my server. These posts have thumbs that show on the homepage.
My problem is this: whenever someone visits the site, many text files get created in the cache directory via
thumb.php and they go up to 9000 if all my posts are featured. There are only text files in the cache directory, and they are not cleared any way automatically. How do I make them get cleared automatically? GoDaddy doesn't allow more than 1024 files to be stored in a single directory and therefore they issued a warning to me this morning. And I need to get those cache folders cleared automatically.
('FILE_CACHE_ENABLED', TRUE); btw if this has anything to do with this issue. I didn't even touch
thumb.php. My other sites work well and nothing is stored in their cache.
I have also checked TimThumb's configuration page online. I've tried Timthumb Vulnerability Scanner, I have no caching plugin installed, I've also tried to create a cron job schedule, but on GoDaddy I could only manage to clear the directory at certain times, not for when a certain size is reached. GoDaddy allows up to 10 cron jobs and up to 5 minutes to function between cron jobs. During those 5 minutes, more than 1024 text files are created, which doesn't work for me. But I believe there must be something that can be done to clean the cache automatically?
Thumbs are hosted elsewhere already. Cache only creates text files to identify, but doesn't clean them. Can anyone help me with this pretty please? Please explain what I need to do step by step as I have a very limited knowledge on this.