How to go about pre-loading data from database?

Issue: in live app data is slow to load from Supabase and at times app will crash seemingly when it fails to load something on time and there’s a time-out.

Question: Would it be possible to pre-fetch data from a database, save it in the app state and use that instead to load widgets from? I have a fixed kiosk-mode app, so instead of live-fetching data from the db would it be possible to just fetch everything at the start and then work offline?

Are there any easy methods for this I can explore? I can see that with list-view widgets my only options is to load from a) Firestore, b) Supabase, c) API call. Could I use some patchwork of custom API calls to make this work maybe? There’s also Query Caching, but I never tried that. Could I somehow force-cache everything?

All of these are completely new areas for me so I’m not sure where to start.