liip/cache-control-bundle
A Symfony bundle for setting HTTP Cache-Control and Expires headers on controller actions via annotations and configuration, making it easy to mark responses public, private, or uncached and work with reverse proxies.
This is a legacy decision-input, not an adoption candidate. It informs three recurring PM choices:
LiipCacheControlBundle, that's a concrete modernization ticket — Symfony 2→current upgrade, PSR-0→PSR-4, annotation config→attributes/PHP config. This package is a signal for scoping that work, not a solution.What it does not support: any greenfield or forward-looking decision. Zero dependents, archived, last release 2013-12-19, explicitly marked DEPRECATED by its own maintainers in favor of FOSHttpCacheBundle. Opportunity score 1.5 reflects a dead end, not an untapped market.
Consider it only in one scenario: you are maintaining an existing Symfony 2.x application that already has it installed and running, and a migration is not yet funded. In that narrow case, treat it as frozen — pin the version, document it as unsupported, and do not extend it.
Look elsewhere — immediately — if any of the following is true:
FOSHttpCacheBundle plus FOSHttpCache is the maintained successor and the migration guide lives in this package's own README — that README is the most useful artifact here.HttpCache, a CDN edge layer, or symfony/http-kernel attributes may cover you with less surface area.Rule of thumb: the only reason to touch this repo is to read its migration guide.
To executives: This is a deprecated 2013 Symfony bundle with no maintainer, no security response, and no dependents. I am not recommending investment. The relevant finding is the one it points to: HTTP caching is a high-leverage performance lever, and if we want it, we should allocate a small, bounded effort to adopt the maintained successor (FOSHttpCacheBundle) or push caching to the CDN. Separately, if any system still depends on this, that's an unmaintained-component exposure worth a scoped remediation ticket — cheap now, expensive after an incident.
To engineering: Do not add this dependency. Read its README migration guide, then evaluate FOSHttpCacheBundle against our actual Symfony version and hosting model. Before any caching work, we need a stated cacheability policy — which routes are public, private, or fragment-cached, and how invalidation is triggered — because a wrong default serves private data from a shared cache. Effort is small if we scope it to route policy plus validation headers; tag-based invalidation and ESI are phase two. If we already reference this package, log it as tech debt with a Symfony upgrade owner and a target quarter.
How can I help you explore Laravel packages today?