Follow

Will the Bolt Javascript Harm Page Load Time?

Page load time is a critical component of a customer's experience on a website. Merchants often use 3rd party performance tools to analyze their site. Occasionally, one of these tools may list Bolt as one of the larger JavaScripts loading on page. Performance tools provide analytical insights as to a sites overall performance, but they do not relay the customer's dynamic experience of a site. Bolt javascript will be loaded, asynchronously, after the web page renders, and should not have any noticeable impact for the customer. 

The sequence of loading is as follows:

  1. The webpage loads and renders first.
  2. The Bolt scripts load after the webpage. This prevents script loading from delaying the page rendering.
  3. When prompted by the customer Bolt Checkout opens. Because the script has been pre-loaded, prior to checkout, the customer will not experience a delay due to script loading.

Some other points that are important to consider:

  • Bolt uses industry standard caching procedures. This means that components will be cached on the browser for subsequent page visits.  This prevents re-loading of scripts and components and thus avoids adding delays.
  • The Initial script that triggers preloading, connect.js is small, about 100KB. The average for modern JS scripts is between 300KB - 400KB.

Below, see an example of script load times pulled from PageSpeed Insights. In the chart (ms) equals one millisecond. These times reflect script loads that are post webpage render, and pre-launch of Bolt Checkout.

load.png

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments