Searches - When do they run? How do we optimise them?

Generally this, unless you apparently have the HeroIcons plugin being used inside the RG!

Probably the first - behind the scenes, Bubble does some magic to make things more abstracted.

There’s a general misconception (that I also had for a while) that using a hidden RG, and then referencing it with :filtered in multiple places, will result in the filtering happening client side and avoiding multiple searches. But if you look at the network logs, searches do still happen.

So, and you’ll need to test it if you want to make sure;

This will
Search for Cars
Search for Red Cars
Search for Blue Cars
Search for Yellow Cars

as opposed to

Search for Cars
(filter everythign else on the client side)

3 Likes