Yesterday I wrote about Cache Manager in article Day-27.Today I will write on Purge Expired Cache next to Cache Manager under tools, What is Purge Expired Cache and how it works. Let’s start with the definition of Purge Cache Manager!
What is Purge Expired Cache?
Click on Tools menu at joomla administration backend and you will see Purge Expired Cache in sub menu. Click on this menu. You will see screen as shown below:
This tool will purge all expired cache files from the cache folders. Cache files which are still current are not purged.
- Because this process has to check each cache file individually, it is slower and requires more system resources than the Clean Cache option. However, once the purge process is complete, there should be no loss in speed for users of the site, because all current cache files are still available. In contrast, the Clean Cache option runs more quickly, since it just deletes all of the files in each cache folder. However, the website may be a little slower immediately after running Clean Cache, since in that case all cache files — including current ones — are removed, so users lose the benefit of using the cache files until they are re-created.
- 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.
On the top right corner you will see toolbar at back end as shown below in figure:
- Purge Expired. When you click on this Button will start the purging process.
- Help. Opens this Help Screen.
In last, I will give you few tips when purge cache is in process:
- Purging of cache files is recommended to be run on a regular basis. Use either this option or the Clean Cache option.
- If you receive a PHP timeout error or warning during the process, it is ok to start this program again.