I'm building a Lightning Component that relies on heavy pulling of data from server side. but also has Filters.
I was thinking to make use of setStorable()
action for pulling data from Apex.
Now, my initial tests worked fine, but it seems erratic at multiple times, when I use filters to filter the list.
As I see it, that inconsistency is due to data being pulled from Cache, but not server side. And it seems, I need to hook into the actions and verify if I should reload from cache or not. And to do that, I need to find out, whether the particular Action has already been cached or not. So can we detect if the action already has been cached, and needs to be refreshed, since filters have changed?