FOSHttpCacheBundle scrutinizer styleci travis-ci Packagist phpunit

Use the FOSHttpCache library in your Symfony projects

FOSHttpCacheBundle

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version

Introduction

This bundle offers tools to improve HTTP caching with Symfony2. It provides global configuration options to set caching headers based on the path, controller and other aspects of the request. In addition, it provides services for the FOSHttpCache library tools to actively invalidate caching proxies and some additional tools that can help when working with a caching proxy.

Features

  • Set path-based cache expiration headers via your app configuration;
  • Set up an invalidation scheme without writing PHP code;
  • Tag your responses and invalidate cache based on tags;
  • Send invalidation requests with minimal impact on performance;
  • Differentiate caches based on user type (e.g. roles);
  • Easily implement your own HTTP cache client.

Documentation

Documentation is available at Read the Docs.

Roadmap

This bundle is fully functional with Varnish and used in production in several systems. With Nginx, many features are supported too.

Work for using the Symfony built-in HttpCache is in progress.

See the GitHub issues if you are interested in the development of this bundle.

License

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

Related Repositories

FOSHttpCacheBundle

FOSHttpCacheBundle

Use the FOSHttpCache library in your Symfony projects ...

LiipCacheControlBundle

LiipCacheControlBundle

DEPRECATED! This bundle is superseded by FOSHttpCacheBundle. A migration guide is in the README of LiipCacheControlBundle ...


Top Contributors

dbu ddeboer lsmith77 stof bdunogier rmsint jnonon gimler digitalkaoz lolautruche zlatio snc joelwurtz chtipepere mguillermin krispypen benr77 tgalopin Tobion dantleech mmoreram wickedOne antoligy bastnic calumbrodie ck99 gsdevme gonzalovilaseca pestaa jrobeson

Releases

-   1.3.9 zip tar
-   1.3.8 zip tar
-   1.3.7 zip tar
-   1.3.6 zip tar
-   1.3.5 zip tar
-   1.3.4 zip tar
-   1.3.3 zip tar
-   1.3.2 zip tar
-   1.3.1 zip tar
-   1.3.0 zip tar
-   1.2.1 zip tar
-   1.2.0 zip tar
-   1.1.1 zip tar
-   1.1.0 zip tar
-   1.0.1 zip tar
-   1.0.0 zip tar
-   1.0.0-beta1 zip tar
-   1.0.0-alpha2 zip tar
-   1.0.0-alpha1 zip tar
-   1.0.0-RC1 zip tar