Ryan Cady

Results 5 comments of Ryan Cady

+1. I have seen the same results, where when you use localStorage (or sessionStorage) with $http and passive deleteOnExpire and maxAge, the cache items appear to never expire.

Yes, that's correct, plus a maxAge. It will just stay around in localStorage without getting fetched again from server, even after the expiration according to maxAge.

[The plunkr](https://plnkr.co/edit/kApzDm20xH7rA2eeKxku?p=preview) by @robations is an example of the original issue that was brought up. After fetching the first time, it will just consistently use the cache after that even...

> Despite the _validation_ state, also the _pristine_ and _dirty_ state can be propagated to the parent form. A complete example of such a base class can be found here:...

@sagar-c-patil Did you ever come across a fix for this issue?