{"id":62,"date":"2017-09-24T17:39:03","date_gmt":"2017-09-24T17:39:03","guid":{"rendered":"http:\/\/www.sureshselvam.com\/?p=62"},"modified":"2021-04-27T12:40:18","modified_gmt":"2021-04-27T12:40:18","slug":"cache-mechanism-in-magento","status":"publish","type":"post","link":"https:\/\/www.sureshselvam.com\/index.php\/2017\/09\/24\/cache-mechanism-in-magento\/","title":{"rendered":"Cache Mechanism in Magento"},"content":{"rendered":"<p>Cache plays main role in magento. Magento has two levels of cache.<\/p>\n<ol>\n<li>A Fast level<\/li>\n<li>A Slow level<\/li>\n<\/ol>\n<p><a href=\"https:\/\/www.sureshselvam.com\/index.php\/2017\/09\/24\/cache-mechanism-in-magento\/magento-cache-mechanism\/\" rel=\"attachment wp-att-63\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-63\" src=\"https:\/\/www.sureshselvam.com\/wp-content\/uploads\/2017\/09\/Magento-Cache-Mechanism.jpg\" alt=\"\" width=\"648\" height=\"206\" srcset=\"https:\/\/www.sureshselvam.com\/wp-content\/uploads\/2017\/09\/Magento-Cache-Mechanism.jpg 648w, https:\/\/www.sureshselvam.com\/wp-content\/uploads\/2017\/09\/Magento-Cache-Mechanism-300x95.jpg 300w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/a><\/p>\n<p>There are various type of\u00a0 caching are available like FileSystem , APC, Memcache and Redis cache.<\/p>\n<p><strong>FileSystem<\/strong><\/p>\n<p>Cache and fullpage caches are maintained in\u00a0 filesystem, for storage we can use SSD Hardisk can be used, which we can read the files faster. This is only useful to smail Buisness with low traffic.<\/p>\n<p><strong>APC<\/strong><\/p>\n<p>Alternative PHP Cache is free opcode cache for PHP. It is optimize the PHP intermediate code<\/p>\n<p>APC PHP Module will not speed up the module, instead of that its eliminates the delay caused by Magento PHP .tags are not supported. Slow level cache is needed<\/p>\n<p><strong>Memcache<\/strong><\/p>\n<p>Memcache is a high performance , distributed memory object caching system, generic in nature, this is the very fast cache backend without tags..<\/p>\n<p>Tags are not supported. Slow level cache is needed<\/p>\n<p><strong>Redis<\/strong><\/p>\n<p>redis cache store advanced key-store with full cache tag support.<\/p>\n<p>Very Fast cache backend with fully tag support , No Slow level\u00a0 cache is needed.<\/p>\n<p>Depends on buisness\u00a0 we can choose\u00a0 cache mechanism, suppose if it is small buisness , then we can have the APC with second level cache as filesystem.<\/p>\n<p>Redis cache will be the perfect solutions for multiple server environment and large buisness.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cache plays main role in magento. Magento has two levels of cache. A Fast level A Slow level There are various type of\u00a0 caching are available like FileSystem , APC, Memcache and Redis cache. FileSystem Cache and fullpage caches are maintained in\u00a0 filesystem, for storage we can use SSD Hardisk can be used, which we can read the files faster. This is only useful to smail Buisness with low traffic&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-62","post","type-post","status-publish","format-standard","hentry","category-magento"],"_links":{"self":[{"href":"https:\/\/www.sureshselvam.com\/index.php\/wp-json\/wp\/v2\/posts\/62","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sureshselvam.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sureshselvam.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sureshselvam.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sureshselvam.com\/index.php\/wp-json\/wp\/v2\/comments?post=62"}],"version-history":[{"count":2,"href":"https:\/\/www.sureshselvam.com\/index.php\/wp-json\/wp\/v2\/posts\/62\/revisions"}],"predecessor-version":[{"id":65,"href":"https:\/\/www.sureshselvam.com\/index.php\/wp-json\/wp\/v2\/posts\/62\/revisions\/65"}],"wp:attachment":[{"href":"https:\/\/www.sureshselvam.com\/index.php\/wp-json\/wp\/v2\/media?parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sureshselvam.com\/index.php\/wp-json\/wp\/v2\/categories?post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sureshselvam.com\/index.php\/wp-json\/wp\/v2\/tags?post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}