Pages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 9.9

...

The Frosmo JavaScript library consists of two script files:

  • The Frosmo Core library implements implements the core front-end functionality and services of the Frosmo JavaScript solutionplatform. The library manages modifications and segmentation, collects usage data, and fetches modification content from the back end. The library is the same for all customers and sites.
  • The Frosmo custom script contains the configurations and custom code specific to a single site. These are used to modify the content and functionality of the site. The configurations include, for example, modifications whose content is preloaded, placements, segments, and triggers. The custom script runs on top of Frosmo Core and is unique to each site (or group of sites managed as a single site). Changes made to a site in the Frosmo Control Panel are automatically reflected in the custom script for that site.

The browser loads the Frosmo JavaScript library through two <script> elements placed directly in a web page's HTML source code. The first element loads Frosmo Core and the second one loads the custom script for the site.  The The scripts are separated so that modifications can be pushed faster to your site without having to load the entire library every time. For more information about adding the scripts to a site, see Adding the Frosmo scripts to your site.

The Frosmo JavaScript library is optimized for fast loading. Frosmo Core is only about 54 KB in size, while the custom script usually ranges between 16-32 KB. For more information about the Frosmo Platform and site performance, see Measuring and improving website performance.

...