Skip to content

Releases: FriendsOfSymfony/FOSHttpCache

2.4.0

30 Jul 11:47
@dbu dbu
2.4.0
Compare
Choose a tag to compare

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

06 Jul 15:23
@dbu dbu
2.3.1
Compare
Choose a tag to compare

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

24 Apr 09:16
@dbu dbu
2.3.0
Compare
Choose a tag to compare

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

27 Mar 09:20
@dbu dbu
2.2.1
9f310cb
Compare
Choose a tag to compare
  • more friendly VCL for when std is used in main VCL

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.