diff --git a/README.md b/README.md index b384235..1697da3 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ List of external sources that the app is pulling data from: - https://aus-api.mozilla.org/api/v1/ - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/ -Emptying the mutable data in the cache folder (either via the `composer cache:reset` command or by doing `rm cache/*.cache`) should fix any issue caused by external data sources listed above being unavailable and/or providing bogus data. +Emptying the mutable data in the cache folder (either via the `composer cache:clear` command or by doing `rm cache/*.cache ; rm -rf cache/twig/*`) should fix any issue caused by external data sources listed above being unavailable and/or providing bogus data. Restarting the app should solve most problems on production. diff --git a/composer.json b/composer.json index 41a1cc2..9a6b5a9 100644 --- a/composer.json +++ b/composer.json @@ -57,7 +57,7 @@ } }, "scripts": { - "cache:reset": "rm cache/*.cache", + "cache:clear": "rm cache/*.cache ; rm -rf cache/twig/*", "test:unit": "vendor/bin/pest", "test:unitcov": "XDEBUG_MODE=coverage vendor/bin/pest --coverage", "test:coverage": "XDEBUG_MODE=coverage vendor/bin/pest --coverage | tail -15",