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>
我仍然无法禁用缓存。
谢谢你
我需要经常更新 CMS 页面,因此我想禁用该特定页面的缓存。我已经尝试在 cms 页面“布局更新 XML”中使用 xml 和以下代码。
<block class="Magento\Cms\Block\Page" name="cms_page" cacheable="false"/>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句