Hey there! According to my understanding of the Angular documentation, this is how you can set the cache for an $http request:
cache – {boolean|Cache} – If set to true, a default $http cache will be used for caching the GET request. Alternatively, if a cache instance has been created using $cacheFactory, that specific cache will be used.
So, by setting {cache:true}
, I'm wondering how long the request will actually be cached for?
Is it possible to specify the maximum time for caching in some way?