=== VCaching ===
Donate link: email@example.com
Tags: varnish, purge, cache, caching, optimization, performance, traffic
Requires at least: 4.0
Tested up to: 4.4
Stable tag: 1.3.3
License: GPLv2 or later
Wordpress Varnish Cache 3.x/4.x integration
== Description ==
Complete Wordpress Varnish Cache 3.x/4.x integration.
This plugin handles all integration with Varnish Cache. It was designed for high traffic websites.
* admin interface, see screenshots
* console for manual purges, supports regular expressions so you can purge an entire folder or just a single file
* supports every type of Varnish Cache implementation, see screenshots for examples
* unlimited number of Varnish Cache servers
* use of custom headers when communicating with Varnish Cache does not interfere with other caching plugins, cloudflare, etc
* purge key method so you don't need to setup ACLs
* actively maintained
You can control the following from the Varnish Caching admin panel :
* Enable/Disable caching
* Homepage cache TTL
* Cache TTL (for every other page)
* IPs/Hosts to clear cache to support every type of Varnish Cache implementation
* Override default TTL in posts/pages
* Purge key based PURGE
* Debugging option
* console for precise manual purges
This plugin also auto purges Varnish Cache when your site is modified.
Varnish Caching sends a PURGE request to Varnish Cache when a page or post is modified. This occurs when editing, publishing, commenting or deleting an item, and when changing themes.
Not all pages are purged every time, depending on your Varnish configuration. When a post, page, or custom post type is edited, or a new comment is added, only the following pages will purge:
* The front page
* The post/page edited
* Any categories or tags associated with the page
Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. This plugin does not install Varnish for you, nor does it configure Varnish for WordPress. It's expected you already did that on your own using the provided config files.
Inspired from the following :
Implemented on :
== Installation ==
Use the provided config files for Varnish Cache located in /wp-content/plugins/vcaching/varnish-conf folder. Just edit the backend IP/port and ACLs.
You can also use the purge key method. You must fill in lib/purge.vcl the purge key.
== Frequently Asked Questions ==
= What version of Varnish is supported? =
This was built and tested on Varnish 3.x/4.x.
= Why doesn't every page flush when I make a new post? =
The only pages that should purge are the post's page, the front page, categories, and tags.
= How do I manually purge the whole cache? =
Click the 'Purge ALL Varnish Cache' button on the "Right Now" Dashboard.
= How do I manually purge cache? =
Use the console. For example you can purge the whole uploads folder with the URL /wp-content/uploads/.*
= Does this work with W3 Total Cache? =
Yes it does. This plugin uses its own custom headers to communicate with Varnish and does not interfere with the heders sent by W3 Total Cache or any other caching plugin.
= Varnish Statistics =
Statistics need a special setup. More info on the Statistics tab on your Wordpress environment.
= How do I configure my Varnish Cache VCL? =
Use the provided Varnish Cache configuration files located in /wp-content/plugins/vcaching/varnish-conf folder.
= Can I use this with a proxy service like CloudFlare? =
== Changelog ==
= 1.3.3 =
* support for Varnish 4
= 1.3.2 =
* bugfix displaying a single server stats
= 1.3.1 =
* better varnish statistics, generated by varnishstat
= 1.3 =
* varnish statistics
= 1.2.3 =
* wordpress 4.4 compatibility
* Romanian language file
= 1.2.1 =
* wp cli
= 1.2 =
* console for precise manual purge
= 1.1 =
* Play nice with W3 Total Cache
= 1.0 =
* Initial commit
== Upgrade Notice ==
== Screenshots ==
1. admin panel
2. example integration
3. override default TTL in posts/pages
4. console purge
5. varnish statistics