2017 © Pedro Peláez
 

symfony-bundle http-cache-bundle

Set path based HTTP cache headers and send invalidation requests to your HTTP cache

image

plozmun/http-cache-bundle

Set path based HTTP cache headers and send invalidation requests to your HTTP cache

  • Monday, March 6, 2017
  • by Arkadis
  • Repository
  • 1 Watchers
  • 0 Stars
  • 54 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 65 Forks
  • 0 Open issues
  • 24 Versions
  • 0 % Grown

The README.md

FOSHttpCacheBundle

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version, (*1)

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., (*2)

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., (*3)

Roadmap

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

Work for using the Symfony built-in HttpCache is in progress., (*5)

See the GitHub issues if you are interested in the development of this bundle., (*6)

License

This bundle is released under the MIT license. See the included LICENSE file for more information., (*7)

The Versions