FOSHttpCacheBundle

Use the FOSHttpCache library in your Symfony projects

Github stars Tracking Chart

FOSHttpCacheBundle

Build Status
Scrutinizer Code Quality
Code Coverage
Latest Stable Version
Documentation Status

Introduction

This bundle offers tools to improve HTTP caching with Symfony. 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. Nginx and the Symfony built-in HttpCache only support a part of the features.

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.

Main metrics

Overview
Name With OwnerFriendsOfSymfony/FOSHttpCacheBundle
Primary LanguagePHP
Program languagePHP (Language Count: 5)
Platform
License:Other
所有者活动
Created At2013-12-14 15:13:42
Pushed At2025-05-12 14:38:58
Last Commit At
Release Count76
Last Release Name3.1.2 (Posted on 2025-05-12 16:38:47)
First Release Name1.0.0-alpha1 (Posted on )
用户参与
Stargazers Count435
Watchers Count16
Fork Count83
Commits Count1.1k
Has Issues Enabled
Issues Count223
Issue Open Count11
Pull Requests Count354
Pull Requests Open Count1
Pull Requests Close Count66
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private