Releases: FriendsOfSymfony/FOSHttpCache
Releases · FriendsOfSymfony/FOSHttpCache
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 hardcodedAuthorization
,HTTP_AUTHORIZATION
and
PHP_AUTH_USER
.
1.4.5
2.1.3
2.1.2
2.1.1
2.1.0
- Support Symfony 4.
Testing
- Upgraded phpunit to 5.7 / 6. If you use anything from the
FOS\HttpCache\Test
namespace you need to update your project to use
PHPUnit 6 (or 5.7, if you are using PHP 5.6).
Symfony HttpCache
-
Cache tagging supprt for Symfony HttpCache
Added a
PurgeTagsListener
for tag based invalidation with the Symfony
HttpCache
reverse caching proxy. This requires the newly created
Toflar Psr6Store
built on PSR-6 cache and supporting pruning expired cache entries. -
Using Request::isMethodCacheable rather than Request::isMethodSafe to
correctly handle OPTIONS and TRACE requests.
1.4.4
- Avoid problems with
http_method_override
See http://symfony.com/doc/current/reference/configuration/framework.html#configuration-framework-http-method-override