Answer the question
In order to leave comments, you need to log in
How to update $http request data that is cached?
The bottom line is this:
let's say there is a getData()
, which returns
Used when requesting. Fresh data is taken only when the page is reloaded.
And I want to update only one field without an extra request.
How to fetch cached request and update one variable?
Preferably without using . {name:'', age:''}.
cache:true
$cacheFactory
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question