Skip to content

Commit

Permalink
Merge pull request #47 from timezoneone/hotfix/reinstate-page-url-in-key
Browse files Browse the repository at this point in the history
Reinstate page url in cache key
  • Loading branch information
wilr authored Jun 7, 2024
2 parents e7b069c + fcc8719 commit 9cc0a91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/KeyCreators/ControllerBased.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ public function getKey($name, $config)
$keyParts[] = md5(Director::absoluteBaseURL());
break;
case 'page':
$keyParts[] = md5(Director::absoluteBaseURL($request->getURL()));
$keyParts[] = md5(Director::absoluteBaseURL().$request->getURL());
break;
case 'full':
$keyParts[] = md5(Director::absoluteBaseURL($request->getURL(true)));
$keyParts[] = md5(Director::absoluteBaseURL().$request->getURL(true));
break;
}
}
Expand Down

0 comments on commit 9cc0a91

Please sign in to comment.