Edge-Side-Includes:esi:inline 标签如何工作
我一直在研究 ESI(边缘包含)规范,但我不太清楚 esi:inline 元素是如何工作的。谁能解释一下吗?
I have been looking at the ESI (Edge-Side-Includes) specs, but I cannot quite figure out how esi:inline elements work. Can anyone explain that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最后,我想通了。您发送带有的响应并在对 那个 的回复中包含标记的片段以供以后重复使用。
这是一种非常巧妙的方式,可以在一个大请求中检索许多小片段。
Finally, I figured it out. You send a response with an <esi:include> and in the reply to that one you include <esi:inline>-marked fragments for later re-use.
That is a pretty slick way to allow retrieval of many small pieces in one large request.