Releases: FriendsOfSymfony/FOSHttpCache
Releases · FriendsOfSymfony/FOSHttpCache
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
2.2.0
Varnish
- Added support for the more efficient xkey cache tag system. BAN remains the
default cache tagging system, but if you can install the varnish modules in
your system, it is recommended to update to xkey.
- No inline C is needed for the custom TTL header with Varnish 4 or better. use
std.duration()
instead.
Symfony user context
- You can now also specify which headers are used for
authentication to detect anonymous requests. By default, the headers are the
previously hardcoded Authorization
, HTTP_AUTHORIZATION
and
PHP_AUTH_USER
.
1.4.5
- Symfony user context: You can now also specify which headers are used for
authentication to detect anonymous requests. By default, the headers are the
previously hardcoded Authorization
, HTTP_AUTHORIZATION
and
PHP_AUTH_USER
.
2.1.3
- Fixed bug in Symfony tag invalidation.
Do not check if host is missing in request creation.
2.1.2
- Fixed issue with detection if toflar psr6 store is available
2.1.1
- Fix varnish tag invalidation regular expression to avoid matching on tag endings