Releases: FriendsOfSymfony/FOSHttpCache
Releases · FriendsOfSymfony/FOSHttpCache
2.6.0
- Added: ClearCapable to clear the whole cache in one efficient call. Currently
supported only by the Symfony HttpCache.
- Allow installing with Httplug 2.0 / PSR-18.
2.5.4
Symfony HttpCache
- Fixed: Avoid regression of 2.5.3: If there are no messages to be dispatched,
do not throw an exception if the HttpCache is not set.
2.5.3
Symfony HttpCache
- Fixed: Handle HttpCache not available in KernelDispatcher and fix return
type annotations - if HttpCache is not set, it can't be returned.
2.5.2
Varnish
- Fixed: Remove the xkey header in vcl_deliver if we are not in debug mode
- Do not cleanup the Vary header and keep the user context hash if we are in debug mode
Cache Tagging
- Fixed: Clear the ResponseTagger 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.1
- Fixed:
MaxHeaderValueLengthFormatter::getTagsHeaderName
now actually returns the value.
2.5.0
Cache Tagging
- Added:
MaxHeaderValueLengthFormatter
to allow splitting cache tag headers into
multiple headers.
Symfony HttpCache
- Have cache invalidator check for presence of Psr6Store for a better guess
whether the cache really is TagCapable or not.
2.4.0
Symfony
- Added:
CleanupCacheTagsListener
to remove the cache tags header from the final
response that is sent to the client. Add this listener to your cache kernel.
Tagging
- Improved: The
ResponseTagger
does now remove duplicate tags.
2.3.1
Varnish
- Fixed: Do not
preg_quote
tags when using xkey. Quoting is only used for BAN
requests that expect a regular expression. This bug only affected you if you
use xkey and used characters in your tags that are changed by preg_quote
.
2.3.0
ProxyClient
- The
HttpProxyClient
now accepts an instance of the new Dispatcher
interface
instead of the concrete HttpDispatcher
, allowing for more flexibility.
Symfony
- Introduced a new
KernelDispatcher
for the Symfony proxy that calls the application
kernel directly instead of executing a full HTTP request.
2.2.1
- more friendly VCL for when
std
is used in main VCL