I have c.60 users on my music lessons marketplace app. 20 of them are tutors and the rest are customers.
I’m using a repeating group to filter for just the tutors. The problem is it causes the repeating group to load VERY slowly as it has to filter through 60 users. See here for an example.
Any idea on how I can speed this up? Or at least not get the user to exit the page for a few seconds while it’s loading?
It did on first try, dunno why it started slowing down on the second go. How long does it usually take? I would say that that’s workable, all you need is some loading skeletons or something.
Dn’t forget that everytime you edit your app and load it after the first time, it will be slower. Do a couple of refresh to load the page and see if this is better. The first time after a change, the page will take longer to load.
Not sure that’s true. Repeating groups are just painfully slow, I’m pretty outspoken about it haha. It’s certainly something that needs work if Bubble ever wants to move away from being solely suitable for MVPs.
Are you using full list view in the RG? Instead, try ext. vertical scrolling. That will automatically load entries as the user scrolls down and may be faster.
Also, filtering through 60 users should not be cause of the issue because my app filters through 600 users without slowing down.
How are you doing the filter? Instead of :filter, which loads all entries and then applies a filter, use Do a search for with an appropriate constraint (usertype=tutor) which will be executed server side.
Thanks for all the help here guys! So @Jici is correct. It takes c.3 seconds to load the very first time you load the app, but after that it’s faster. My issue is that many visitors will be coming to the app via Google ads and will be first time visitors.
The workaround I’ve done is put the “Awesome tutors loading…” text in a group that hides itself after 3 seconds. This gives the repeating group time to load and hopefully prevents users from clicking away.
In terms of the filter, I’m doing a “search for users” with several constraints. See below:
I see you have full list in the RG. That is the main cause of the delay. It is taking too long because you are loading the full list. Think of it in this way - the RG may have 20, 100, or even a 1000 posts. But how many posts will the user see at one time in one screenful? Maybe 3-4. Thus, there is no need to load the full list for posts/cards. Instead, in the “Layout style” select ext vertical scrolling instead of full list. What that does is load the first few items, and then when the user scrolls down, loads the subsequent items (exactly like a Facebook feed), which will only load what’s needed for the view, improving the loading times. Just change that one thing and you will see the difference.
Once you have extended list, you no longer need the hiding group with the loading message, because it will be much faster. While the user spends a second looking at the upper posts and scrolls down, the lower posts will load.
Guys, is ext vertical scroll still working for you? For me, it’s no more working for 2 or 3 days. My Rg takes 20 seconds to load, even if supposed to load first between 6 to 9 rg items before the user scrolls. The other problem then is that when the user scrolls down, the new items are loaded BUT the scrolling position is reset and the user comes back to the top of the RG list.
Very annoying, slow and does not help for users experience and adoption…
So… Are your RG / ext vertical scroll are still working as expected, or are you suffering from the same issues for few days?