Skip to content

alserom/octobercms_clearcachewidget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clear cache widget details

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.

UI

You can display a widget with a chart or like a single button. Display options shown in the screenshots.

Features
  • Clear cms cache
    • cms/cache
    • cms/combiner
    • cms/twig
  • Clear backend cache
    • framework/cache
  • Clear thumbs cache of uploaded images
Available locales

Documentation

Installation

  • The plugin can be installed from the Marketplace. Please see the details here.

  • Install from backend:

    1. Go to "INSTALL PRODUCTS" page;
    2. Search plugin Romanov.ClearCacheWidget and install it.

    After installation, you can add widget to dashboard.

Widget configuration

  • 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 folder storage. 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_.*/.

About

Clear file cache widget for dashboard (octobercms)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published