NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #1916 most downloaded on Packagist
Set path based HTTP cache headers and send invalidation requests to your HTTP cache
Latest stable
3.4.1
Last release 5 months ago
08 Jun 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
81 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Avoid calling deprecated method in Symfony 3.2
fix configuration handling when only custom proxy client is configured
Do not sanity check hash on anonymous requests.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
trigger deprecation notices for things that will go away in 2.0
fos_http_cache.user_context.hash_cache_ttl > 0 and the session is lost via
garbage collector. The data given is the anonymous one despite having a hash
for authenticated, all authenticated users will then have the anonymous version.
Same problem could occurs with users having is role changed or anything else
that can modify the hash.Nothing published for this version
0a17d0b Make tests pass on Symfony 2.8 deprecation notices (David de Boer)
Add compatibility with Symfony 2.8’s service validation by loading test clients only when needed.
fix configuration to make custom proxy client for the cache manager work
Fixed some status codes (such as 204 and 302) not triggering invalidation.
Fixed configuration handling with Symfony and NGINX cache clients. Cache tagging is now immediately reported to not work with those clients.
Deprecated CacheManager::tagResponse in favor of TagHandler::addTags.
CacheManager::tagResponse in favor of TagHandler::addTags.render(controller())) are no longer ignored. Additionally, it is now possible to add tags from code before the response object has been created, by using the TagHandler, and from Twig with the fos_httpcache_tag function. If you defined custom services for the InvalidateTagCommand, you should now inject the TagHandler instead of the CacheManager.Add compatibility with TokenStorage introduced in Symfony 2.6
Deprecated FOS\HttpCacheBundle\HttpCache in favor of EventDispatchingHttpCache.
FOS\HttpCacheBundle\HttpCache in favor of EventDispatchingHttpCache.cleanupForwardRequest() in your cache kernel, you need to extend FOS\HttpCache\SymfonyCache\UserContextSubscriber and move that logic to the method cleanupHashLookupRequest in there.Refactored the Symfony built-in HttpCache support to be extensible.
FOS\HttpCacheBundle\HttpCache is deprecated in favor of EventDispatchingHttpCache.
BC break: If you overwrite cleanupForwardRequest in your cache kernel, you need to extend FOS\HttpCache\SymfonyCache\UserContextSubscriber and move that logic to the method cleanupHashLookupRequest in there.
Do not require a cache invalidation client when configuring the user context.
d495ec8 Merge pull request #152 from lolautruche/contextHashSymfonyReverseProxy (David Buchmann)
HttpCache.e21bd91 Merge pull request #145 from FriendsOfSymfony/fix-expressionlanguage-dependency (Christophe Coevoet)
ed647d3 Merge pull request #128 from FriendsOfSymfony/prepare-release (David Buchmann)
Initial release. To migrate from other Symfony2 cache bundles, see LiipCacheControlBundle or DriebitHttpCacheBundle.
11ea3ea Merge pull request #121 from FriendsOfSymfony/cleanup-invalidation-annotation (David de Boer)
Nothing published for this version
Nothing published for this version
9c6c5d4 Merge pull request #122 from FriendsOfSymfony/testcase (David de Boer)
One column per quarter.