Download or clone the repository, then copy the folder
CacheCrashie to your site's
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
Enable the scheduler to run the command automatically every five minutes. To setup the scheduler following the Statamic docs.
The MIT License (MIT). Please see License File for more information.