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 1mo ago

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 37% 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

4181d 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

[barryvdh/laravel-httpcache

HttpCache for Laravel

513400.6k7](/packages/barryvdh-laravel-httpcache)[friendsofsymfony/http-cache-bundle

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

43813.2M47](/packages/friendsofsymfony-http-cache-bundle)[gordalina/cachetool

Manage your OPcache &amp; APCu cache through the CLI

1.8k3.7M5](/packages/gordalina-cachetool)[silber/page-cache

Caches responses as static files on disk for lightning fast page loads.

1.3k441.9k6](/packages/silber-page-cache)[tedivm/stash-bundle

Incorporates the Stash caching library into Symfony.

841.4M16](/packages/tedivm-stash-bundle)[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32135.8k](/packages/beryllium-cachebundle)

PHPackages © 2026

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