Home

Awesome

FOSHttpCache

CI Scrutinizer Quality Score Code Coverage Latest Stable Version Documentation Status

Introduction

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.

It does this by abstracting some caching concepts and attempting to make sure these can be supported across Varnish, Nginx and Symfony HttpCache.

If you use Symfony, have a look at the FOSHttpCacheBundle. The bundle provides the invalidator as a service, along with a number of Symfony-specific features to help with caching and caching proxies.

Features

Documentation

For more information, see the documentation.

License

This library is released under the MIT license. See the included LICENSE file for more information.