Site Maintenance Clear Cache
From Joomla! Documentation
This tool will delete all Cache files from the cache folders - including current ones - from your web server. As admin functions are cached too, some cache folders might appear as if they were not cleaned because they get recreated before cache content is rescanned after this action.
Cache files are temporary files that are created to improve the performance of your site. If you have made significant changes to your web site, such as changing your Template or Language, your cache files may be out of date. To avoid any problems caused by out of date cache files, you can delete all of the cache files.
- Because this process deletes all Cache files, the website may be a little slower immediately after running Clean Cache. Once this process is complete, 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.
- In contrast, the Clear Expired Cache option will check each Cache file individually for being out of date, but the process is slower and requires more system resources. However, the website should perform close to the same speed for users visiting your site, since all up to date files are still available for your current Joomla site.
How to Access
- Select System → Clear Cache from the dropdown menu of the Administrator Panel.
In the table containing cache groups these are the different columns as shown below. Click on the column heading to sort the list by that column's value.
- Checkbox. Check this box to select one or more cache groups. To select all cache groups, check the box in the column heading.Note: Many toolbar actions can work with multiple cache groups.
- Cache Group. The type of item being cached in this file. This is also the name of the subdirectory where this type of cache file is stored. The cache files are stored in the directory <path-to-Joomla>/cache/<Cache Group Name>.
- Number of Files. The number of files currently in this cache group.
- Size. The total size, in KB, of the cache files in this group.
Above the column headers on the right, there are 2 dropdown input fields, Sort Table By: (preset to 'Cache Group ascending') and a number (preset to '20') to display.
These column sorting input fields shows the current method of sorting applied to the table. Use the dropdown field choices and click the column heading name. Alternatively, click on the column heading to sort the list by that column's value.
This will also change the value in the drop field to correspond with the column header name. The list will then be sorted in order by that column and a sort icon (up or down arrow) will show next to the column name. Click a second time to reverse the sort, which will change the corresponding drop field.
- Cache Group ascending (default). Shows ordering of selected column, ascending or descending.
- Number of cache groups to display. Shows the number of cache groups to display on one page, default is 20 cache groups. If there are more cache groups than this number, you can use the page navigation buttons to navigate between pages.
The List Filters are a series of controls that let you limit what cache groups show in the screen. More than one filter may be entered. In this case, only cache groups that meet all of the filter conditions will show on the list.
Site and Administrator filter
At the top you will see the following filter:
- Site: Filters on Site cache groups. This is the default selection and allows you to manage the cache groups for the Frontend.
- Administrator: This allows you to manage the cache groups for the Backend.
Filter by Partial Title or ID
In the upper left is a search field and 2 buttons.
- To filter by partial title, enter part of the title and click 'Search'
- To filter by ID number, enter "id:xx", where "xx" is the ID number (for example, "id:29").
- Click 'Clear' to clear the Filter field and restore the list to its unfiltered state.
Page Controls. When the number of cache groups is more than one page, you will see a page control bar as shown below. The current page number being viewed is shaded.
- Start: Click to go to the first page.
- Prev: Click to go to the previous page.
- Page numbers: Click to go to the desired page.
- Next: Click to go to the next page.
- End: Click to go to the last page.
At the top left you will see the toolbar.
The functions are:
- Delete. Deletes the selected cache groups. Works with one or multiple cache groups selected.
- Delete All. Deletes all the cache groups.
- Help. Opens this help screen.
- Options. Opens the Options window where settings such as default parameters can be edited.
Normally you want to delete all cache files. To do this, click the check box in the column heading to select all files and then click the Delete icon in the toolbar.