Magento News
Magento: Mage::getStoreConfig() and Cache
I was recently needing to regularly access config values in Magento that can change frequently. My module was working as needed until cache was enabled. I remembered then that Magento stores all of the configuration values in cache. To remedy this issue, I put the following code in before I called the needed values with Mage::getStoreConfig():
Mage::app()->getCacheInstance()->cleanType('config');
Magento: Mage::getStoreConfig() and Cache
Possibly Related Posts:
- Database query different results
- Menu highlight in magento under admin
- magento disable a banner on certain category pages or have a banner with multiple links
- Magento, using ACL for frontend. Possible?
- Magento IE-7 Fix In Windows XP
RSS Feed