2017-12-18 96 views
0
I need to update the CMS page often hence I want to disable the cache for that particular page. I have tried using xml in cms page "Layout Update XML" with the following code 
    <head> 
     <meta http-equiv="Cache-Control" content="no-cache"/> 
    </head> 

我仍然無法禁用緩存。我想爲Magento 2.15 cms頁面後端禁用緩存

謝謝

回答

0

我需要更新CMS頁面往往因此我想禁用對特定頁面緩存。我已經嘗試使用以下代碼在cms頁面「佈局更新XML」中使用xml。

<block class="Magento\Cms\Block\Page" name="cms_page" cacheable="false"/>