Magento Varnish缓存块对于登录用户可见

时间:2015-03-18 22:25:39

标签: magento caching varnish esi

我的客户Magento网站托管在SiteGround上,激活了SuperCacher。 SuperCacher是Varnish的SiteGround优化版本。

它使用Turpentine版本进行清漆缓存。

我在Search块中只有登录用户才能看到。 当Varnish被激活时,该块不会显示。

当我为搜索块指定了带有ttl 0的af ESI策略时,它对于已登录和已注销的用户都是可见的。

如何将此块从缓存中删除并仅显示登录用户?

1 个答案:

答案 0 :(得分:0)

这个链接对我来说非常有用,在这个链接说明中有关如何从缓存中删除块Magento Hole puch With Varnish希望这对你也有帮助。