diff options
| author | Alexander Shtuchkin | 2013-02-28 09:25:21 +0400 |
|---|---|---|
| committer | James deBoer | 2013-03-08 10:19:18 -0800 |
| commit | 99f3b70b2d316f5bb39e21249e752c29f49c90ab (patch) | |
| tree | 6d45c16c42bd3deda361822efe3b9b37391f1e29 /src/ngResource/resource.js | |
| parent | 603fe0d19608ffe1915d8bc23bf412912e7ee1ac (diff) | |
| download | angular.js-99f3b70b2d316f5bb39e21249e752c29f49c90ab.tar.bz2 | |
feat(http): set custom default cache in $http.defaults.cache
When we need more control over http caching, we may want to provide
a custom cache to be used in all http requests by default.
To skip default cache, set {cache: false} in request configuration.
To use other cache, set {cache: cache} as before.
See #2079
Diffstat (limited to 'src/ngResource/resource.js')
0 files changed, 0 insertions, 0 deletions
