Hey there,
Sorry if I sound like a newbie, perhaps it’s something obvious.
Across different pages we have different sections which shows content from the users group.
That group is coming from supabase id and tables, we have content like, all users, all animals, all groups and so on.
Using the collection function and filters, I made all sorts of different collections, like total sum of users with x role, and animals in this group and users in another group and so on.
The problem is that, this content changes a lot, it can change live, it can change whilst the user changes their group.
I assume fetching every single collection, on every page change, would seriously slow things down especially as we scale.
Is there another way to do what I’m doing, or fetch conveniently?
Because at the moment, fetching automatically and preserving navigation on collection fetching doesn’t do the justice in our case, it doesn’t update the collections accordingly which I’m having issues with.
Any ideas?
I appreciate it!