Hello ,
I am searching for solution or any extension to maintain store/website level cache.
Usually we have around 30 stores in one Magento instance. So we would like to cache refresh for single store specific. So that other store cache will not effect.
So any one have any Idea how we can do or it's already build please share extension link .
Thanks
Hi,
Do you use Magento CC or EE?
EE already has built in FPC extension. For СС you can use Amasty FPC for example. It's should support store level cache by default. One note: not sure about count of products for every store but indexes can take forever for 30 store views if you have a lot of products.
There is no such functionality out of the box. You'll have to build functionality which will:
- add store_id as tag to every cached value
- implement cache clear per tag
Mage_Core_Model_App: public function saveCache($data, $id, $tags=array(), $lifeTime=false) { $this->_cache->save($data, $id, $tags, $lifeTime); return $this; } public function cleanCache($tags=array()) { $this->_cache->clean($tags); Mage::dispatchEvent('application_clean_cache', array('tags' => $tags)); return $this; }
That's how you can group all cache keys around tags, and clear them separately.
Thanks for reply.
I have tried this before and not helped for me. I am not sure may I missed some thing.
Let me try once again.
I think the solution suggested by Sinisa should work though I never given a try.