angular-promise-cache icon indicating copy to clipboard operation
angular-promise-cache copied to clipboard

Do not cache when rejected

Open sergiy-talashko opened this issue 9 years ago • 1 comments

If request fail, library cache fail callback. Is any possible way to not cache callback from failed request?

We can add expireOnFailure, but I don't want to remove previous cached data.

sergiy-talashko avatar Oct 11 '16 16:10 sergiy-talashko

Thanks for logging this. I don't think there is support but will be added in the next release

chrisronline avatar Oct 11 '16 16:10 chrisronline