Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gsdevme/FOSHttpCacheBundle

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Use the FOSHttpCache library in your Symfony projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 95.3%
  • Python 2.7%
  • Makefile 1.9%
  • HTML 0.1%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.