Sun 11 Jan 2009 |
1.5.9 Bugfixes or Features 2 - Purge Expired Cache
Written by Klas Berlič
In addition to the features described by Mark Dexter there is also a new "Purge Expired Cache" menu/feature in backend that will come especially handy to the large site administrators. It is a supplement to the "Clean Cache" that has been already there - with the difference that "Purge Expired Cache" will only clean expired items - cache files that are older than number of minutes set by Cache Time limit in Global Configuration. Items that are still current will remain intact - and that is a real advantage of this option - cleaning them will not affect Joomla!'s performance gains that come from frontend caching.

I would advise all administrators of Joomla! powered sites to use new option from time to time as number of unused cache files remaining in cache folder can rise very high especially with some components that use large number of URL parameters (e.g. events components). This happens because cache files are created on the URL basis - each combination of parameters creates new URL and each of them creates new cache file file - combined with web spiders like Google that try to index each and all of them numbers can get very high. There is another problem associated with events components (or any components dealing with items valid only for limited period of time) - if event's don't expire numbers will rise fast - but still serve it's purpose - but if they do, you will get high number of unused cache files for any of the expired events (core com_content takes care of this and related problems by cleaning it's cache on every save).
Also if you make a new menu that links to the component and delete old one this will effectively change Itemids for all URL-s created by the component. As Itemid is a part of the URL this will create a whole new set of cache files, but old ones will remain indefinitely - until you either clean or purge the cache.

2009-01-12 09:36:32
So much for not adding features...
2009-01-12 11:25:18
2009-01-12 19:02:19
could we cron job this?
2009-01-12 22:56:57
2009-01-12 23:47:08
2009-01-13 06:41:56
2009-01-14 19:56:10
I agree with Frank. I cleard my cache on Sunday have around 30 pages in 2 languages. Now Wednesday I have around 1400 files in the cache. After a purge 29 files are left.
So I think too, a cron job for the purge would be a useful function.
Regards
Dieter
2009-01-21 18:05:34
The site itself has about 6.000 articles and 7-8.000 visitors each day.
This overwelming increasing of the cache size cannot really be!
I would have to pay more for the cache space as for the website itself!
This must be solved soon, because logging in ans using this purge is one solution, but what if (e.g.) within 3 days nobody is doing that?!
2009-01-22 23:27:41
2009-05-13 00:03:35
2009-07-17 20:19:58
It's ridiculous that Joomla does not even offer a simple cache limit setting! So switching off caching is the only option.
2009-10-13 17:50:22
the rest 800 MB is Cache .