You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Is there a settings for cache through $httpProvider?
I do not see any mentioning of cache in the defaults section of the doc
doc for $http say I can set $http.defaults.cache, which it says Runtime equivalent of the $httpProvider.defaults property. so, need to mention cache property in $httpProvider defaults section. I want to make sure following is valid $httpProvider.defaults.cache = true;
You can change the default cache to a new object (built with $cacheFactory) by updating the $http.defaults.cache property. All requests who set their cache property to true will now use this cache object.
We should probably add this property to the $httpProvider docs as you suggest
Is there a settings for cache through
$httpProvider
?I do not see any mentioning of cache in the
defaults
section of the docdoc for $http say I can set
$http.defaults.cache
, which it saysRuntime equivalent of the $httpProvider.defaults property
. so, need to mentioncache
property in $httpProvider defaults section. I want to make sure following is valid$httpProvider.defaults.cache = true;
ps: This issue was wrongly created under 2.x repo.
angular/angular#219
The text was updated successfully, but these errors were encountered: