Skip to content

Commit

Permalink
url_cache_ttl default is 10 not 1
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Apr 17, 2021
1 parent 72e3218 commit 3d53f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ protected function loadUrlMap()
self::$urlMap = $map;

if ($cacheable) {
$expiresAt = now()->addMinutes(Config::get('cms.url_cache_ttl', 1));
$expiresAt = now()->addMinutes(Config::get('cms.url_cache_ttl', 10));
Cache::put($key, serialize($map), $expiresAt);
}

Expand Down

0 comments on commit 3d53f92

Please sign in to comment.