I’d like to load some user data from a collection once when they start their session, keep it in the session perhaps, and only refresh it occasionally when one of their items is changed by a UX action. For example, list of videos played, downloaded content, favorites, etc.
It seems like the wix-data-helpers
package’s DataCache function would be helpful: https://www.wix.com/velo/reference/velo-package-readmes/wix-data-helpers#velo-package-readmes_wix-data-helpers_data-cachejs
I can’t quite tell whether the cache function will do the job across pages.
Has anyone used this and know the answer?