Skip to content

Commit 49e4fab

Browse files
[6.x] Hash URL in static caching lock key (#14716)
1 parent e33f0ab commit 49e4fab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/StaticCaching/Middleware/Cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ private function createLock($request): Lock
241241
$store = AppCache::store('null');
242242
} else {
243243
$store = StaticCache::cacheStore();
244-
$key .= '-'.$this->cacher->getUrl($request);
244+
$key .= '-'.md5($this->cacher->getUrl($request));
245245
}
246246

247247
return $store->lock($key, $this->lockFor);

0 commit comments

Comments
 (0)