Skip to content

Releases: bbc/http-transport-cache

v3.5.0

25 Apr 13:32
Compare
Choose a tag to compare

Summary

Add support for varyOn

Changelog

  • Updated maxAge
  • Updated staleIfError
  • Updated key generation mechanism
  • Added cache keys tests to staleIfError
  • Updated NodeJs engine version support
  • Updated README

v3.4.0

10 Apr 16:20
Compare
Choose a tag to compare
  • Handle Redis Connection errors by passing through the cache

v3.3.1

15 Feb 16:04
b55abef
Compare
Choose a tag to compare
  • Add support for no-store

v3.2.0

06 Feb 10:20
Compare
Choose a tag to compare
  • On cache.set, return data to be cached instead of throwing an exception.

v3.1.0

31 Oct 12:19
Compare
Choose a tag to compare
  • Add ctx to caching events

v3.0.3

12 Jul 13:00
Compare
Choose a tag to compare
  • Add tests for invalid cache-control headers

v3.0.2

29 May 15:28
Compare
Choose a tag to compare
  • Use http-transport getRequestKey for cache key generation
  • This now uses separate cache keys for different request methods

v3.0.1

14 May 13:46
Compare
Choose a tag to compare
  • Do not cache 5xx for stale-while-revalidate

v3.0.0

26 Apr 09:21
Compare
Choose a tag to compare
  • Cache client errors (4xx) when there is a cache control header

v2.0.1

14 Mar 14:23
Compare
Choose a tag to compare
  • Only support stale while revalidate for HTTP GET (for the time being)