aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngResource/resource.js
diff options
context:
space:
mode:
authorAlexander Shtuchkin2013-02-28 09:25:21 +0400
committerJames deBoer2013-03-08 10:19:18 -0800
commit99f3b70b2d316f5bb39e21249e752c29f49c90ab (patch)
tree6d45c16c42bd3deda361822efe3b9b37391f1e29 /src/ngResource/resource.js
parent603fe0d19608ffe1915d8bc23bf412912e7ee1ac (diff)
downloadangular.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