Best collection fetch settings - having trouble on consistency

Hi! I’ve been having a lot of problems with supabase data consistently fetching, and was wondering best practices.

I have several collections, many are filtered by data only accessible after user authentication, so I currently have the Home page “On page load” fetch collections in parallel, followed by calculations that are done with that data to create the charts.

But, for example when I logged in on my mobile the data is not there initially. Also, on desktop, if I log out of one account and into another, it often does not pull in the new info and shows blank.

I have auto on for each collection, but that did not seem to help, which is why I added the workflow to fetch on page load.

Hi @automation_turtle ,

I experienced the same issue with one of my clients that used an iPad whereby collections did not fetch (while it all worked perfectly in any desktop browser). Similar to your suggestion, I added a couple of extra workflows to force (re)fetching collections. Perhaps not the most efficient, but it works.

Next to that, I also did this:

  • minimizing page changes (with use of the conditional filter, I made my whole webapp into a single page that performs even better - because of instant ‘page changes’)
  • better have 2 elementary collections than 1 complicated one (this makes it easier to target a specific collection for (re)fetching)