CodeIgniter Forums

Full Version: deleting of cache files on expiration?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Yednotek[/eluser]
Hi,


I recently started caching certain controllers with an expiration time of 5 minutes like so:
$this->output->cache(5);

However, the cache files are never deleted and the numbers are starting to add up way too fast.

Is there a way to have cache files automatically deleted (soon) after they expire or do I have to set up a cron job for this?

El Forum

[eluser]Yednotek[/eluser]
Anyone?