SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

docs($http): improve description of caching

Included changes:

* Point out that only GET & JSONP requests are cached.
* Explain that the URL+search params are used as cache keys (headers not considered).
* Add note about cache-control headers on response not affecting Angular caching.
* Mention `$httpProvider.defaults.cache` (in addition to `$http.defaults.cache`).
* Clear up how `defaults.cache` and `config.cache` are taken into account for determining the
  caching behavior for each request.

Fixes #11101
Closes #13003
R
ryanhart2 committed
84c04b0b6856ee0cc42867bc4e8ab8e583e54d11
Parent: 735be18
Committed by Georgios Kalpakas <g.kalpakas@hotmail.com> on 2/17/2016, 10:54:18 PM