Heroku 支持 Varnish Edge Side Includes (ESI) 吗?

发布于 2024-10-10 19:15:28 字数 436 浏览 0 评论 0原文

有人知道 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

生来就爱笑 2024-10-17 19:15:28

我不久前问过,答案是否定的。不过本来可以改变的。

I asked a while back and the answer was no. Could have changed though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文