We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If i use the lock method, the cache system creates an empty folder. Is that normal? This is my setup:
The text was updated successfully, but these errors were encountered: