Skip to content

Releases: FriendsOfSymfony/FOSHttpCache

2.2.0

23 Mar 14:55
@dbu dbu
2.2.0
Compare
Choose a tag to compare

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

17 Mar 13:49
@dbu dbu
1.4.5
c60c5e9
Compare
Choose a tag to compare
  • 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

15 Mar 14:05
@dbu dbu
2.1.3
Compare
Choose a tag to compare
  • Fixed bug in Symfony tag invalidation.
    Do not check if host is missing in request creation.

2.1.2

07 Feb 14:29
@dbu dbu
2.1.2
b9ca77e
Compare
Choose a tag to compare
  • Fixed issue with detection if toflar psr6 store is available

2.1.1

01 Feb 15:48
@dbu dbu
2.1.1
60b4e2b
Compare
Choose a tag to compare
  • Fix varnish tag invalidation regular expression to avoid matching on tag endings

2.1.0

19 Dec 16:34
@dbu dbu
2.1.0
Compare
Choose a tag to compare
  • 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

09 Oct 13:32
@dbu dbu
1.4.4
Compare
Choose a tag to compare

2.0.2

18 Aug 11:58
@dbu dbu
2.0.2
Compare
Choose a tag to compare

Support PHP 7.2

1.4.3

18 Aug 11:37
@dbu dbu
1.4.3
Compare
Choose a tag to compare
  • Avoid a warning with PHP 7.2

2.0.1

23 Jun 14:19
@dbu dbu
Compare
Choose a tag to compare
  • Ban requests now work even when no base URI is configured.