What Are Cache & Magento Cache?
-
Upload
magestore -
Category
Technology
-
view
1.028 -
download
4
Transcript of What Are Cache & Magento Cache?
![Page 1: What Are Cache & Magento Cache?](https://reader036.fdocuments.in/reader036/viewer/2022073014/55a2874a1a28abbe5f8b4697/html5/thumbnails/1.jpg)
Cache & Magento Cache
![Page 2: What Are Cache & Magento Cache?](https://reader036.fdocuments.in/reader036/viewer/2022073014/55a2874a1a28abbe5f8b4697/html5/thumbnails/2.jpg)
You must have heard a lot about“cache”, even you are not a developer.However, how much do you understandabout it?
![Page 3: What Are Cache & Magento Cache?](https://reader036.fdocuments.in/reader036/viewer/2022073014/55a2874a1a28abbe5f8b4697/html5/thumbnails/3.jpg)
What Is Cache?
Cache is a place to store data temporarilyin computing environment, which helpsincrease processing speed of the futurerequest for that data.
![Page 4: What Are Cache & Magento Cache?](https://reader036.fdocuments.in/reader036/viewer/2022073014/55a2874a1a28abbe5f8b4697/html5/thumbnails/4.jpg)
• So, web cache is a type of cache? The answer is NO.
• Web cache is just an application of cache.
![Page 5: What Are Cache & Magento Cache?](https://reader036.fdocuments.in/reader036/viewer/2022073014/55a2874a1a28abbe5f8b4697/html5/thumbnails/5.jpg)
3 Types Of Web Cache
• Browser Cache
• Proxy cache
• Gateway Cache
![Page 6: What Are Cache & Magento Cache?](https://reader036.fdocuments.in/reader036/viewer/2022073014/55a2874a1a28abbe5f8b4697/html5/thumbnails/6.jpg)
Cache In Magento
![Page 7: What Are Cache & Magento Cache?](https://reader036.fdocuments.in/reader036/viewer/2022073014/55a2874a1a28abbe5f8b4697/html5/thumbnails/7.jpg)
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.
![Page 8: What Are Cache & Magento Cache?](https://reader036.fdocuments.in/reader036/viewer/2022073014/55a2874a1a28abbe5f8b4697/html5/thumbnails/8.jpg)
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)
![Page 9: What Are Cache & Magento Cache?](https://reader036.fdocuments.in/reader036/viewer/2022073014/55a2874a1a28abbe5f8b4697/html5/thumbnails/9.jpg)
• 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
![Page 10: What Are Cache & Magento Cache?](https://reader036.fdocuments.in/reader036/viewer/2022073014/55a2874a1a28abbe5f8b4697/html5/thumbnails/10.jpg)
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.