{"id":7308,"date":"2019-09-26T19:11:05","date_gmt":"2019-09-26T13:41:05","guid":{"rendered":"https:\/\/www.hiddentechies.com\/blog\/?p=7308"},"modified":"2019-10-04T11:19:34","modified_gmt":"2019-10-04T05:49:34","slug":"magento-2-disable-caching-cms-page","status":"publish","type":"post","link":"https:\/\/www.hiddentechies.com\/blog\/magento-2\/magento-2-disable-caching-cms-page\/","title":{"rendered":"Magento 2 &#8211; How to Disable Caching for CMS Page from Backend"},"content":{"rendered":"<p>In this post I am going to explain how to disable caching for CMS page from backend in magento 2.<\/p>\n<p>If you need to update the CMS page often hence if you want to disable the cache for that particular page, then add below code snippet in cms page &#8220;Layout Update XML&#8221;.<\/p>\n<pre class=\"lang:default decode:true \">&lt;referenceContainer name=\"content\"&gt;\r\n\t&lt;block class=\"Magento\\Cms\\Block\\Page\" name=\"cms_page\" cacheable=\"false\"\/&gt;\r\n&lt;\/referenceContainer&gt;<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7309\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/09\/cms-disable-cache.png\" alt=\"Magento 2 - How to Disable Caching for CMS Page from Backend\" width=\"1233\" height=\"819\" srcset=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/09\/cms-disable-cache.png 1233w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/09\/cms-disable-cache-300x199.png 300w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/09\/cms-disable-cache-768x510.png 768w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/09\/cms-disable-cache-1024x680.png 1024w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/09\/cms-disable-cache-800x531.png 800w\" sizes=\"(max-width: 1233px) 100vw, 1233px\" \/><\/p>\n<p>Thats it. Enjoy Magento 2!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post I am going to explain how to disable caching for CMS page from backend in magento 2. If you need to update the CMS page often hence if you want to disable the cache for that particular page, then add below code snippet in cms page &#8220;Layout Update XML&#8221;. &lt;referenceContainer name=&#8221;content&#8221;&gt; &lt;block&#8230; <\/p>\n<div class=\"actions\"><a href=\"https:\/\/www.hiddentechies.com\/blog\/magento-2\/magento-2-disable-caching-cms-page\/\">Continue Reading<\/a><\/div>\n","protected":false},"author":1,"featured_media":7370,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59],"tags":[9,10,27],"_links":{"self":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/7308"}],"collection":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/comments?post=7308"}],"version-history":[{"count":1,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/7308\/revisions"}],"predecessor-version":[{"id":7310,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/7308\/revisions\/7310"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media\/7370"}],"wp:attachment":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media?parent=7308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/categories?post=7308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/tags?post=7308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}