Reduce Java Script execution time

First time builder here. I am learning as I go and am now trying to optimize performance. I am using Page Speed Insights to see where I can make the biggest differences. My biggest opportunities seem to be in two places in the header (and don’t seem to be related to a plug in) as shown in the image below. One ends with x29/run.js and the other ends in /pre_run_query.js.

This is a single page app so I can see why it needs to do alot of work upfront. But i have now turned all non-critical elements to “not visible on page load” and then have a condition to make them visible when page is loaded entirely equals yes.

Nothing I do seems to reduce the effect of the two primary bottlenecks. Can anyone tell me what these bottlenecks are in layman terms and how I can work to reduce them? My domain is www.discovercrozet.com if anyone feels like looking closer at this.

I’ll take any advice I can get

anything “not visible” is still code than needs to be loaded and parsed by the browser. Excluding plugins you don’t have control over the code produced by bubble, so the score for that will always be as good as what bubble can make it.
you only active effort can be over loaded database/api request data on page load. there are plenty of topics about this in the forum.

1 Like