This library integrates your PHP applications with HTTP caching proxies such as Varnish. Use this library to send invalidation requests from your application to the caching proxy and to test your caching and invalidation code against a Varnish setup.
If you use Symfony2, have a look at the FOSHttpCacheBundle. The bundle provides the invalidator as a service, along with a number of Symfony2-specific features to help with caching and caching proxies.
- Send cache invalidation requests with minimal impact on performance.
- Use the built-in support for Varnish 3 and 4, NGINX, the Symfony reverse proxy from the http-kernel component or easily implement your own caching proxy client.
- Test your application against your Varnish or NGINX setup.
- This library is fully compatible with HHVM.
For more information, see the documentation.
This library is released under the MIT license. See the included LICENSE file for more information.