Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 815 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 815 Bytes

Recover cache when it has been corrupted, rendering the site inaccessible.

Software License

Installation

Download or clone the repository, then copy the folder CacheCrashie to your site's Addons directory.

Usage

The addon will add a command, which will loop through the site's locales, and check if any front page is inaccessible. If so the site cache will be cleared.

php please cache-crashie:recover

Tasks

Enable the scheduler to run the command automatically every five minutes. To setup the scheduler following the Statamic docs.

License

The MIT License (MIT). Please see License File for more information.