Releases: FriendsOfSymfony/FOSHttpCacheBundle
Releases · FriendsOfSymfony/FOSHttpCacheBundle
2.9.1
Fixed
- Flash messages won't be lost even when redirecting multiple times.
2.9.0
Added
- New Feature: Command
fos:httpcache:clear
to clear the whole http cache.
2.8.0
- Adjusted to work with Twig 3
- Adjusted to work with Symfony 5
- Allow Httplug 2
2.7.2
Fixed
- Avoid deprecation warning about
ContainerAwareCommand
.
2.7.1
Fixed
- Avoid deprecation warning about
TokenInterface::getRoles
.
- Improve exception message if a tag capable client is not found.
2.7.0
Changed
- Allow to use environment variables to configure the caching proxy.
Fixed
- Invalidate the user context cache also when impersonating a user and when stopping to impersonate.
2.6.1
Adjusted configuration definition to avoid deprecation errors with symfony 4.2
2.6.0
Changed
- User context lookup now tags the hash lookup response. The logout listener can now invalidate that tag instead of doing a BAN request. The previous varnish BAN request has been incorrect and banned all cache entries on Varnish.
The logout handler is now also activated by default for the Symfony HttpCache in addition to Varnish and Noop.
Fixed
- Cache Tagging: It is now possible to use cache tagging without installing the
SensioFrameworkExtraBundle
. There is a new configuration option tags.annotations.enabled
that can be set to false
.
2.5.1
Fixed
- Cache Tagging: Clear the SymfonyResponseTagger after we tagged a response.
Usually PHP uses a new instance for every request. But for example the hash
lookup when using Symfony HttpCache does two requests in the same PHP
process.
2.5.0
Added
- New Feature: Support for the max_header_value_length option to split huge tag lists into multiple headers. #483
Fixed
- Cache control on Symfony 4.1 now also works when the Vary header for user_context_hash is already present on the response. #485