开发者 | Olivier Dupuis |
---|---|
更新时间 | 2011年6月6日 19:32 |
PHP版本: | 2.9.2 及以上 |
WordPress版本: | 3.1.1 |
wp-varnish/
to the /wp-content/plugins/
directoryThis plugin will be in fully tested V1.0 by end of may 2011.
Yes. Exdtensivly tested in multi-site with sub-domain install. But has to be tested in non sub-domain (site.com/blogname)
I have provided a simple VCL that can be used as a reference.
Yes. Activating the plugin site-wide will provide the functionality to all blogs. Edit wp-config.php and include these lines just before "That's all, stop editing!" message:
global $varnish_servers; $varnish_servers = array('192.168.0.1:80','192.168.0.2:80'); define('VARNISH_SHOWCFG',1);The varnish servers array will configure multiple servers for sending the purges. If VARNISH_SHOWCFG is defined, configuration will be shown to all users who access the plugin configuration page (but they can't edit it).