github ing-bank/lion @lion/ajax@0.15.0

latest releases: @lion/ui@0.7.8, @lion/ui@0.7.7, @lion/ui@0.7.6...
2 years ago

Minor Changes

  • 558edcb: Adds a maxResponseSize cache option to specify a max size for responses to be cached. The option prevents caching and cache retrieval for responses that are larger than the given maximum as reported in the Content-Length header. If this header is missing nothing happens, that is to say caching is not prevented.
  • efcdf65: Adds a contentTypes cache option to specify a whitelist of content types to be cached. The option prevents caching and cache retrieval for responses that do not have one of these values in the Content-Type header.
  • 56af96f: Add an option "addCaching" to the Ajax config, in order to add cache interceptors when useCache is turned off. In this situation, all requests are cached proactively.

Don't miss a new lion release

NewReleases is sending notifications on new releases.