Static.js vs Dynamic.js


Continuing to optimize our app, could anyone weigh in on the difference between static.js and dynamic.js here? What exactly are they and how can one go about making them faster.

Notably they are nowhere near as long on subsequent refreshes/revisits to this page, even with cache disabled.

Adding to my confusion, I notice that when I first load a page, the dynamic.js file can take as long as 5 seconds to load (most of that time is waiting), taking way longer than the larger static.js file.

1 Like

dynamic.js is the data file that the Bubble browser runtime uses as the content to render your App.

@georgecollier Has an excellent explanation of how Bubble apps work he gave in a recent presentation - including this aspect.

Unfortunately you’ll never get to watch it because I forgot to start the recording

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.