Skip to content
Code-Schnipsel Gruppen Projekte
Commit 01c5aab1 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: consider bricks attributes for cache name

Übergeordneter a9f62250
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -275,11 +275,8 @@ public function create(): string
$cacheName = Manager::getBrickCacheNamespace()
.\md5($this->getType())
.'/'
.$this->hash;
if ($this->uniqueId) {
$cacheName .= '/'.$this->uniqueId;
}
.$this->hash
.'/'.\md5(\serialize($this->getAttributes()));
if ($this->getAttribute('cacheable')) {
try {
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren