Component packaged with Joomla! 2.5 Core for deleting the expired cache files if caching is enabled.
How to Access
Select Site → Site Maintenance → Purge Expired Cache from the drop-down menu of the Joomla! Administrator Panel.
This tool will purge all expired cache files from the cache folders. Cache files are temporary files that are created to improve the performance of your site. Cache files that are still current according to what Joomla! finds are not purged.
- Because this process has to check each cache file individually, it is slower and requires more system resources. Once the purge process is complete there should be no loss in speed for your users, because all up to date cache files are still available for your current Joomla! website.
- In contrast, the Clean Cache option runs more quickly since it deletes all of the files stored in each cache folder. However, the website may be a little slower immediately after running Clean Cache, since all cache files -- including current ones -- are removed, so users lose the benefit of using the cache files until they are re-created by Joomla!to be up to date with your current site.
- If you have a large number of cache files and your server setting for 'max_input_time' is set to less then 60 seconds, you may receive a PHP warning message saying that the process exceeded the maximum time allowed. In this case, no harm is done but all of the files may not have been purged. It is ok simply to re-run the process.
At the top right you will see the toolbar:
The functions are:
- Purge expired. Deletes all expired cache files. Cache files that are still current will not be deleted. WARNING: This operation can be resource intensive on sites with a large number of items.
- Options. Opens the Options window where settings such as default parameters or permissions can be edited.
- Help. Opens this help screen.
- Purge Expired Cache is recommended to be run on a regular basis, however this will require more system resources because each file is checked.
- Clean Cache option is quicker, however all cache files will be deleted.
- If you receive a PHP timeout error or warning during the process, it is ok to start this process again.