Skip to content

Commit 4049414

Browse files
authored
Merge pull request #97 from b13/bugfix/issue-96
[BUGFIX] short cache identifier by md5
2 parents 76e91de + 4041a22 commit 4049414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Compiler/AbstractMenuCompiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected function generateCacheIdentifierForMenu(string $prefix, array $configu
6666
$visibilityAspect = $this->context->getAspect('visibility');
6767
$visibility = $visibilityAspect->includeHiddenPages() ? '-with-hidden' : '';
6868
$root = $this->getCurrentSite()->getRootPageId();
69-
$identifier = $prefix . '-root-' . $root . '-language-' . $language . '-groups-' . implode('_', $groupIds) . '-' . $visibility . '-' . substr(md5(json_encode($configuration)), 0, 10);
69+
$identifier = $prefix . '-root-' . $root . '-language-' . $language . '-groups-' . md5(implode('_', $groupIds)) . '-' . $visibility . '-' . substr(md5(json_encode($configuration)), 0, 10);
7070
return $identifier;
7171
}
7272

0 commit comments

Comments
 (0)