Skip to content

Commit

Permalink
Rename cache:reset to cache:clear. Also empty Twig cache folder
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalchevrel committed Mar 24, 2024
1 parent 004122a commit 3cd8c0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3cd8c0e

Please sign in to comment.