Skip to content

Latest commit

 

History

History
53 lines (45 loc) · 2.26 KB

README.md

File metadata and controls

53 lines (45 loc) · 2.26 KB

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