Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Delete view cache of one specific view?

$
0
0

@Sujan12 wrote:

If "something" happens in my app I want to delete the view cache of a specific view so that next time I enter this view it will get rendered freshly and the app does not show a cached version of this view. Is this possible?

The only thing I can think of right now would be to have a flag in localStorage that I set if "something" happens and then read in my view that I don't want to have cached and implement explicit logic that reloads the view and data if this flag is set. But I am not even sure how to exactly implement this :confused:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>