Heroku 支持 Varnish Edge Side Includes (ESI) 吗?
有人知道 Heroku 的 Varnish 实现是否支持 Edge Side Includes 吗?
更新: 我最终提出了一个支持请求,向 Heroku 询问他们的 Varnish 实施情况。这是我的要求:
您好,我只是想知道您的清漆实现是否支持 Edge Side Includes?是否有关于您的清漆实施中支持和不支持哪些内容的信息? (例如,我在其他地方读到过您无法清除条目?)
...以及他们的回应:
我们不支持 ESI。但是,我们会在每次部署时清除清漆缓存。这将确保作为代码一部分的静态资产在任何部署时都会被清除,以便缓存能够拾取任何新的或更改的资产。
希望这有帮助。
-克里斯
当然,PURGE 是指手动清除路由,这是不支持的。
Anyone know if Edge Side Includes are supported by Heroku's Varnish implementation?
UPDATE:
I ended up putting in a support request to ask Heroku about their Varnish implementation. Here's my request:
Hi, I was just wondering if your varnish implementation supports Edge Side Includes? Is there any information about what is and is not supported in your varnish implementation? (For example, I've read elsewhere that you can't PURGE entries?)
... and their response:
We do not support ESI. We do, however, purge the varnish cache on each deploy. This will ensure that your static assets that are part of your code will be purged on any deploy so the cache will pickup any new or changed assets.
Hope this helps.
-Chris
Of course, by PURGE, I meant purging a route manually, which is not supported.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不久前问过,答案是否定的。不过本来可以改变的。
I asked a while back and the answer was no. Could have changed though.