Skip to content

Commit

Permalink
Fixes clearing cache (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszstrojny authored Sep 26, 2024
1 parent 26e4299 commit 174c6ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ protected function getCacheKey($keyName)
*/
public function clearCache()
{
self::$cache = [];
self::$urlMap = [];
Cache::forget($this->getCacheKey('static-page-url-map'));
}
}
1 change: 1 addition & 0 deletions updates/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ v2.0.4: Fixes sidebar delete button in October v3.5
v2.0.5: Compatibility fixes for October v3.6
v2.1.0: Tabs are now stored and reopened on page load
v2.1.1: Fixes index page spamming event log
v2.1.2: Fixes clearing cache

0 comments on commit 174c6ef

Please sign in to comment.