FCI employs a number of best practices to ensure the fastest load times for the Touchpoint Capture JavaScript:
- AWS CloudFront CDN is used to enable customer-specific query string parameters, which allows us to maximize caching performance for each customer.
- Google Closure Compiler is used to produce an optimal, minimized version of the code.
- Gzip compression is applied to the script to remove unneeded whitespace.
Measurements of page load time can vary greatly due to many factors, including type of connection, geographic location, and browser. In our regular testing, load time for the Touchpoint Capture 20KB JavaScript has fallen between 100-300ms, which is in line with current third-party benchmarking/testing (see page 9).
We recommend that customers configure the script to load asynchronously on their pages, using either the "async" or "defer" attribute, which will prevent the script from negatively affecting the user experience as it relates to speed/page load.
If you would like to perform tests of your own against a production version of our script, let us know and we can provide you with steps to do so.
Comments
0 comments
Please sign in to leave a comment.