Is the response from an Angular $http request cached before or after any transformResponse functions have been applied?
Use case: My client's REST API returns a lot of metadata (most of which I don't need) so I don't want to cache the entire response. I'd like to apply a specific transformResponse for each different API end-point that copies only the fields I need into a new object\array and dispose of the original. I would then like the new object to automatically be cached. This should be nice and easy if the return data from transformResponse is cached.
$http
stores the response from the server in the specified cache"