我想为Magento 2.15 cms页面后端禁用缓存

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页面后端禁用缓存

谢谢

回答:

我需要更新CMS页面往往因此我想禁用对特定页面缓存。我已经尝试使用以下代码在cms页面“布局更新XML”中使用xml。

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

以上是 我想为Magento 2.15 cms页面后端禁用缓存 的全部内容, 来源链接: utcz.com/qa/263725.html

回到顶部