This report widget allows to clear OctoberCMS file cache with a single button click.
The widget works only if your system is configured to use the file cache driver, which stores the serialized, cached objects in the filesystem!
Clear cache widget on OctoberCMS marketplace.
You can display a widget with a chart or like a single button. Display options shown in the screenshots.
- Clear cms cache
- cms/cache
- cms/combiner
- cms/twig
- Clear backend cache
- framework/cache
- Clear thumbs cache of uploaded images
- ru
- en
- pt-br (by Leonardo Shinagawa)
- cs (by Vojta Svoboda)
- fr (by Jean Marc BRUNO)
- it (by Jean Marc BRUNO)
- hu (by Szabó Gergő)
- tr (by Sevdin Filiz)
- nl (by Alwin Drenth)
- sk (by Marek Závacký)
- pl (by Robert Pakszys)
- sl (by Tomaž Žitnik)
-
The plugin can be installed from the Marketplace. Please see the details here.
-
Install from backend:
- Go to "INSTALL PRODUCTS" page;
- Search plugin
Romanov.ClearCacheWidget
and install it.
After installation, you can add widget to dashboard.
- Show without chart
Enable this option to display widget without chart. - Chart size
Radius value of chart. Optimal value is 200, but it's only my opinion :) - Delete thumbs images
If this option is enabled, thumbs of uploaded images also will be cleared. - Path to the folder with thumbs
Path to the folder in which stored thumbs cache. The path must be specified relative to the folderstorage
. Default value is/app/uploads/public
. - Regex for thumb file names
Files with a name that matches the pattern will be deleted. For more details see preg_match function. Default value is/^thumb_.*/
.