Page Load Impact of Large Number of Workflows

Hi Everyone,

I understand that having a large number of elements, even hidden elements, will have an impact on the initial load time of a page because the HTML for the elements is still served to the client.

Does having a large number of workflows on a single page have the same impact?

To be clear, I am not actually running these workflows on page load, but simply have them associated with elements that are on the page.

This is a fairly complex single page app, so I wanted to be mindful of the page load impact. I actually have not experienced issues with load times thus far, despite the existing level of complexity, but I wanted to be mindful of how adding features could degrade performance down the road if there is indeed an impact.

Thanks!

The WFs only make an impact when they are run, so if they aren’t run on page load or anything you are fine

1 Like

That is good to hear, thanks! I wasnt sure if there was some data associated with them that had to be sent regardless of whether they were run or not. I will keep building out on the same page in that case :slight_smile:

As far as I can tell, initial server connection time is long , I think which servers connect to bubble host than see the website around 400 ms, everything else is fast if you don’t use plugins.

@emir.ozgun Yea the biggest killer for me right now is plugin elements initializing on page load.

What are the plugins you are using and give me the purposes, may be I can provide you the solutions. I am anti plugin so far.

@tylerboodman They shouldn’t be rendering on load unless visible.

The only thing that may render is if they have libraries globally being called at the main plug-in level which i’d have to verify but I’m pretty sure if you put the scripts in the element instead of global they won’t be called until they are rendered.

This may come down to a bad plug-in optimization over an actual issue with plugins as a whole.

One of my apps is an SPA but no plugins are visible on home page load. So I will need to look at this closer if its global libraries or the actual element for some reason… Thanks :+1:

Very strange on my main home page I made the main container group not visible, collapsed, so the whole page is blank by default and I’m getting all the usual suspect plugin elements loading in still…

Elements are buried in reusable elements to act as pages… maybe that’s related. It’s possible I have some plugins in popups but not all the ones shown in the dev menu… :thinking: Need to investigate