后台配置configuration > advanced > system > Full Page Cache > caching application 选择varnish

开启full page cache缓存

nginx配置文件不要做反向代理转发到varnish地址。重启nginx

然后前台页面就可以在header头中看到x-magento-tags

除非注明, askADC博客 的文章均为原创,转载请注明作者和出处。
本文链接地址: http://blog.askadc.com/magento-%e6%9f%a5%e7%9c%8bx-magento-tags%e6%96%b9%e6%b3%95/

发表评论

邮箱地址不会被公开。 必填项已用*标注