1
我们正在使用Amasty FPC,并且我们正在运行一个墙,我们有两个块,我们希望永远不会被缓存。Magento 1.9 - Amasty FPC:我如何忽略一个块永久
但是,Amasty提供的任何代码示例,它们的“手册”或任何Google搜索引擎的在线帮助都没有提供解释如何执行此操作的解决方案。
有没有人有这个扩展的经验,可以摆脱一些光?根据我的理解,相关代码如下:
相关代码,据我了解。
amfpc.xml
<nav_application_selector_mobile> <!-- the block name -->
<routes>
<catalogsearch>catalogsearch/result/*</catalogsearch>
<shop>shop/*</shop>
</routes>
</nav_application_selector_mobile>
<app_selector parent="header" />
header.phtml
<amfpc name="app_selector"> <!-- the custom block reference for amfpc -->
<div id="top-menu-search-by-vehicle" class="menu-opt">
...
</div>
</amfpc>
这理应是应该清除某些航线块的缓存,以及周围设置打孔其他块,以便它永远不会被缓存。
经过数小时的试图让这个工作,我无处可去。