我已经在Apache Web服务器上安装了Varnish加速器以进行Magento安装。任何机构都可以为此建议最佳的default.vcl(/etc/varnish/default.vcl)配置吗?任何帮助表示赞赏。
谢谢。
很可能您不是Google的人,在您来之前,请至少自己寻找解决方案。
当我搜索“ Magento Varnish”时,我想到了第一个链接,它是一个免费扩展,其中包含您需要的default.vcl文件:http://www.magentocommerce.com/magento-connect/pagecache-powered-by-varnish.html
如果Google仍然在这里为您提供指导:
Magento现在确实在其GIT存储库的深度范围内提供了默认的VCL文件。
对于Varnish 4.xhttps://github.com/magento/magento2/blob/2.3/app/code/Magento/PageCache/etc/varnish4.vcl
对于Varnish 5.xhttps://github.com/magento/magento2/blob/2.3/app/code/Magento/PageCache/etc/varnish5.vcl