Skip to content

Releases: FriendsOfSymfony/FOSHttpCache

2.6.0

29 Apr 15:06
@dbu dbu
2.6.0
Compare
Choose a tag to compare
  • Added: ClearCapable to clear the whole cache in one efficient call. Currently
    supported only by the Symfony HttpCache.
  • Allow installing with Httplug 2.0 / PSR-18.

2.5.4

31 Oct 14:12
@dbu dbu
2.5.4
1d2d2bf
Compare
Choose a tag to compare

Symfony HttpCache

  • Fixed: Avoid regression of 2.5.3: If there are no messages to be dispatched,
    do not throw an exception if the HttpCache is not set.

2.5.3

31 Oct 11:05
@dbu dbu
2.5.3
Compare
Choose a tag to compare

Symfony HttpCache

  • Fixed: Handle HttpCache not available in KernelDispatcher and fix return
    type annotations - if HttpCache is not set, it can't be returned.

2.5.2

03 Oct 15:54
@dbu dbu
2.5.2
Compare
Choose a tag to compare

Varnish

  • Fixed: Remove the xkey header in vcl_deliver if we are not in debug mode
  • Do not cleanup the Vary header and keep the user context hash if we are in debug mode

Cache Tagging

  • Fixed: Clear the ResponseTagger after we tagged a response. Usually PHP uses
    a new instance for every request. But for example the hash lookup when using
    Symfony HttpCache does two requests in the same PHP process.

2.5.1

27 Sep 14:26
@dbu dbu
2.5.1
Compare
Choose a tag to compare
  • Fixed: MaxHeaderValueLengthFormatter::getTagsHeaderName now actually returns the value.

2.5.0

10 Sep 15:17
@dbu dbu
2.5.0
Compare
Choose a tag to compare

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

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