This is the documentation for the FOSHttpCache library.
This documentation is for the 2.* version of the library. For the 1.* version, please refer to the 1.4 documentation.
This library integrates your PHP applications with HTTP caching proxies such as Varnish, NGINX or the Symfony HttpCache class. Use this library to send invalidation requests from your application to the proxy server and to test your caching and invalidation setup.
If you use the Symfony full stack framework, have a look at the FOSHttpCacheBundle. The bundle provides the Invalidator as a service, support for the built-in cache kernel of Symfony and a number of Symfony-specific features to help with caching and proxy servers.
- Getting started
- An Introduction to Cache Invalidation
- Proxy Server Configuration
- Proxy Client Setup
- The Cache Invalidator
- Response Tagging
- Cache on User Context
- Testing Your Application