Jason,
I'm having trouble wrapping my head around how to do a refresh of a cache. Say for example someone does a pull to refresh. Using the "onExpire" & "another example" method describe here :
http://jmdobry.github.io/angular-cache/configuration.html#onexpire, if the key has been reset to an empty array or deleted after the pull to refresh, it will not be expired and the onExpire won't trigger.
So, how should we trigger a cache expiration? I think the best way would be to mark the cache as expired, but I don't see a method to do that.
Do you have suggestions?
Thanks,
Justin