Skip to content

Commit

Permalink
Reinstate page url in cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
jcop007 committed Mar 21, 2024
1 parent 98f2751 commit fcc8719
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 fcc8719

Please sign in to comment.