Use a distributed cache for the isCachedCache
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
bd8dc10221
commit
4011d97a2b
|
@ -117,7 +117,7 @@ class SCSSCacher {
|
|||
$this->serverRoot = $serverRoot;
|
||||
$this->cacheFactory = $cacheFactory;
|
||||
$this->depsCache = $cacheFactory->createDistributed('SCSS-deps-' . md5($this->urlGenerator->getBaseUrl()));
|
||||
$this->isCachedCache = $cacheFactory->createLocal('SCSS-cached-' . md5($this->urlGenerator->getBaseUrl()));
|
||||
$this->isCachedCache = $cacheFactory->createDistributed('SCSS-cached-' . md5($this->urlGenerator->getBaseUrl()));
|
||||
$lockingCache = $cacheFactory->createDistributed('SCSS-locks-' . md5($this->urlGenerator->getBaseUrl()));
|
||||
if (!($lockingCache instanceof IMemcache)) {
|
||||
$lockingCache = new NullCache();
|
||||
|
|
Loading…
Reference in New Issue