[英]Varnish ESI with Wordpress 3.5 Widget
I am trying to use Varnish ESI statements to avoid the cache on a single Wordpress Widget. 我正在尝试使用Varnish ESI语句来避免单个Wordpress Widget上的缓存。
I've found a good guide explaining the process for using ESI for the entire sidebar here: http://timbroder.com/2012/12/getting-started-with-varnish-edge-side-includes-and-wordpress.html but having difficulties trying to work out how it's done for single widgets. 我在这里找到了一个很好的指南来解释整个边栏使用ESI的过程: http : //timbroder.com/2012/12/getting-started-with-varnish-edge-side-includes-and-wordpress.html但在尝试确定单个小部件的完成方式时遇到困难。
Other details: 其他详情:
Resolved the issue by including a text widget which had the ESI code linking to an external php script containing the output to the widget content I wanted to serve. 通过包含一个文本小部件解决了该问题,该文本小部件的ESI代码链接到一个外部php脚本,该脚本包含输出到我要提供的小部件内容。 Simple really.
真的很简单。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.