Releases: FriendsOfSymfony/FOSHttpCache
Releases · FriendsOfSymfony/FOSHttpCache
2.12.0
Cloudflare
- Added Cloudflare ProxyClient Adapter with ClearCapable, PurgeCapable and
TagCapable. This allows to use FOSHttpCache to invalidate caches on
Cloudflare. See the "Proxy Client" section of the documentation for how to
configure the Cloudflare client.
Varnish Cache
- Added a
fos_user_context_hash
method to be called in vcl_hash
when using the user context
hash mechanism. This can avoid performance problems Varnish can run into when the hash Vary
s on
the basic authentication or session cookie.
If you use the user context, read the updated documentation and call fos_user_context_hash
in
your vcl_hash
function.
Noop Client
- Implemented ClearCapable.
2.11.0
Symfony HttpCache
- Added flag on CustomTtlListener to allow keeping the custom TTL header on the response
Fastly client
- Marked the
@internal
constants in FOS\HttpCache\ProxyClient\Fastly
as private
2.10.1
HttpDispatcher
- Fix how we create exceptions to get the expected exception rather than a PHP error
2.10.0
General
- Raised minimal PHP version to 7.2
- Added support for PHP 8.0
Symfony HttpCache
- Added a neutral "Bad Request" body to user hash mismatch response to have
something searchable in the code when debugging.
1.4.6
Symfony HttpCache
- Added a neutral "Bad Request" body to user hash mismatch response to have
something searchable in the code when debugging.
2.9.2
Proxy Client
- Fix: Preserve inline credentials when multiplexing to the proxy servers.
2.9.0
General
- Added support for the fastly caching service
- Raised minimal PHP version to 7.1
- Test helper classes upgraded to support PHPUnit 7/8
Symfony HttpCache
- Fixed issue with
PurgeTagsListener
and Symfony 5
- Fixed clearing the cache completely together with toflar psr6 store did not work
2.8.0
- Support Symfony 5
- Use
LegacyEventDispatcherProxy
for Symfony >= 4.3 to avoid deprecation messages.
2.7.0
Symfony HttpCache
- Added request type to the CacheEvent.