Currently the entire input object for $load (and therefore refresh) is used to create a caching key. To support workloads that store arbitrary data, we should provide a second argument that can be used for different purposes.
As an alternative, we could also start supporting arbitrary writes on the store and provide a $writeCache function to update localstorage (or even do that automatically).
Currently the entire input object for
$load
(and thereforerefresh
) is used to create a caching key. To support workloads that store arbitrary data, we should provide a second argument that can be used for different purposes.As an alternative, we could also start supporting arbitrary writes on the store and provide a
$writeCache
function to update localstorage (or even do that automatically).