⚠️ Bubble performance problems and how to solve it

well, it would be nice if they just run it when the plugin is used at the page hehe. And same for algolia, where is bubble using it if i dont?

1 Like

I see what you’re saying.

But Bubble doesn’t load plugins the way you’re seeing unless the plugin developer built it that way. Some plugins stick their scripts in the shared header or run global code, so those will load everywhere whether you use them or not. That’s on the plugin, not Bubble. It’s one of the reasons I’m a little leery of certain plugins too.

And yeah, Bubble uses the same run.js file for every app. Algolia is included in that bundle because it’s part of Bubble’s core engine and probably still needed for older apps. It doesn’t actually do anything unless your app uses a feature that calls it. The Algolia package is tiny, so it’s not really affecting page load.

This is just the way I’ve always understood it. Maybe someone else knows more

4 Likes

I just updated logos, from PNG to WebP…my logos for my plugins went from 1.2MB to 30KB; thanks for posting this

3 Likes

thats awesome! hope some more plugin creator see this and can update their icons too. Thankss

In my opinion, it is the duty of the plugin developer to properly configure the plugin so that it does not load in the common section, which causes the library to load even when there are no plugin elements on the page.

3 Likes