Page Load
The SessionStack script will not delay the rendering or impact the interactivity of your page during load time.
Reduce Fetch Time
The SessionStack script is edge-cached on Cloudflare's CDN and typically takes under 20ms to fetch. This is very important because browsers will only allow a fixed number of outstanding resources requests at any given point in time. The faster this request completes, the faster it frees up slots for other requests in your page.
Asynchronous
Let's take a look at the following JavaScript tag:
<script src='sessionstack.js'>
JavaScript's semantics require that an inline script block the evaluation of the page until the script is fully loaded. We solve this issue by providing you with a very small script stub. This is important because the script element that encapsulates the stub, doesn't have a source which means that no loading happens.
The script sub contains code which loads the actual sessionstack.js script dynamically, guaranteeing that it's not loaded until the page is fully evaluated, and requests for all static resources in your page, such as CSS and images, have already begun.
Updated over 6 years ago