-
-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
If i use the lock method, the cache system creates an empty folder. Is that normal? This is my setup:
$objCacheDriver = new \Stash\Driver\FileSystem(
[
'path' => $this->objConfig->get('cache.file.path')
]);
$objCache = new \Stash\Pool($objCacheDriver);
$objCacheItem = $objCache->getItem('product.1233.444.555');
$mixCacheData = $objCacheItem->get();
if ($objCacheItem->isMiss())
{
$objCacheItem->lock();
$mixCacheData = 1337;
$objCacheItem->set($mixCacheData);
$objCache->save($objCacheItem);
}
Metadata
Metadata
Assignees
Labels
No labels