Upload
magestore
View
1.029
Download
4
Embed Size (px)
Citation preview
Cache & Magento Cache
You must have heard a lot about“cache”, even you are not a developer.However, how much do you understandabout it?
What Is Cache?
Cache is a place to store data temporarilyin computing environment, which helpsincrease processing speed of the futurerequest for that data.
• So, web cache is a type of cache? The answer is NO.
• Web cache is just an application of cache.
3 Types Of Web Cache
• Browser Cache
• Proxy cache
• Gateway Cache
Cache In Magento
Cache in Magento
• In Magento, cache is in var/cache folder.“F lush cache” means to free cachememory.
• F lush Magento Cache wi l l de lete cachedata saved by Magento (with Magentotag) , whi le F lush Cache Storage wi l lremove al l the data in cache.
Magento Cache is stored under key – valueform, like other systems. The function of“save” and “load” in class is:
Mage_Core_Model_Cachesave($value, $key, $tags = array(), $lifeTime=null)load($key)
• 1 line represents for 1 cache option. There are 8options in total, saved in core_cache_option table.
• 1 line also represents for 1 cache tag. When we refreshone of these lines, it means that we delete cache withcorresponding tags.
In cache table of System > Cache Management Menu
You can read this blog post toknow more.
If you have any questionsrelated to this topic or want tounderstand about which topicin Magento, contact us [email protected]. Wewill try to help you figure out.
Don’t forget to follow us byvisiting our website here.