Skip to content

Commit

Permalink
Improve cache key
Browse files Browse the repository at this point in the history
Signed-off-by: Marty Friedel <[email protected]>
  • Loading branch information
martyf committed May 16, 2022
1 parent 32f6da3 commit b1b850d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/SitemapamicController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class SitemapamicController extends Controller
*/
public function show()
{
$key = config('sitemapamic.cache') . '-' . url('/');
$key = config('sitemapamic.cache');
$xml = Cache::rememberForever($key, function () {
$entries = collect()
->merge($this->loadEntries())
Expand Down

0 comments on commit b1b850d

Please sign in to comment.