PHPackages                             jamesi/http-cache-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. jamesi/http-cache-bundle

ActiveSymfony-bundle[Caching](/categories/caching)

jamesi/http-cache-bundle
========================

Gives more power to Symfony2's ESI HttpCache

v0.2.0(11y ago)436[1 issues](https://github.com/jamesisaac/JamesiHttpCacheBundle/issues)MITPHP

Since Feb 23Pushed 11y ago1 watchersCompare

[ Source](https://github.com/jamesisaac/JamesiHttpCacheBundle)[ Packagist](https://packagist.org/packages/jamesi/http-cache-bundle)[ Docs](https://github.com/jamesisaac/JamesiHttpCacheBundle)[ RSS](/packages/jamesi-http-cache-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (7)Versions (4)Used By (0)

JamesiHttpCacheBundle
=====================

[](#jamesihttpcachebundle)

[![Build Status](https://camo.githubusercontent.com/ba4f2c75b8fe503050a3c317305b8249ca239f50ecfb696284dc8d97db7ab22e/68747470733a2f2f7472617669732d63692e6f72672f6a616d657369736161632f4a616d65736948747470436163686542756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/jamesisaac/JamesiHttpCacheBundle)

This bundle makes two changes to Symfony2's default HTTP cache (currently supporting Symfony versions 2.1 and 2.2):

- Allows parts of a view to be cached through ESI, even if the master response has a "private" Cache-Control header (Symfony2 will be default force the entire response to be public). This replicates the `sf_cache_key` behaviour of Symfony of 1.4 which allowed for easy partial caching. (**Important**: Use release 0.1.1 if you want this feature. It has been removed from later versions, as Symfony now supports it out of the box).
- Makes it possible to use ESI within JSON responses

**Disclaimer**: Please only use this bundle if you have a solid understanding of ESI caching, as it removes some of the safeguards put in place by default with Symfony2. If you were to, for example, include a user's private content via ESI without a cache key that's unique to them, that content is likely to leak through to other users.

For documentation, see:

[`Resources/doc/index.md`](https://github.com/jamesisaac/JamesiHttpCacheBundle/blob/master/Resources/doc/index.md)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~325 days

Total

3

Last Release

4227d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c906e97bfa70c9ab5331ae8a5cc2728bf8da7dcd5ad0e15c34fe965ba3b5bf5?d=identicon)[jamesisaac](/maintainers/jamesisaac)

---

Top Contributors

[![jamesisaac](https://avatars.githubusercontent.com/u/1068177?v=4)](https://github.com/jamesisaac "jamesisaac (19 commits)")

---

Tags

cacheesihttpcache

### Embed Badge

![Health badge](/badges/jamesi-http-cache-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/jamesi-http-cache-bundle/health.svg)](https://phpackages.com/packages/jamesi-http-cache-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.4k](/packages/symfony-security-bundle)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k177.2M382](/packages/symfony-security-http)[shopware/storefront

Storefront for Shopware

684.6M236](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
