Implementing Client Code - Deployment Options


To support the diversity of workflows and policies that customers may have for their website, ForeSee provides several options for getting code implemented. Code is normally hosted in the cloud using our high-availability Content Delivery Network (CDN), but we do provide an option to self-host the majority of the JavaScript, CSS, and HTML in your own environment. In addition, the cloud environment supports both staging and production sandboxes to facilitate your QA process.

ForeSee® Cloud Deployment (preferred)

This is the default option and offers the most hands-off experience for you. In this case, you make a small addition to your global website template to link to the hosted JavaScript file. This method allows all code modifications to be made by ForeSee, without any further changes to your website. Once you’ve added the snippet to your template, you don’t need to touch it again to receive code updates from us. This is because the embed snippet references your permanent home in the cloud. For example:

//gateway.foresee.com/sites/CUSTOMERNAME/production/gateway.min.js
Caching for ForeSee® Cloud Deployment
Server cache expiration on these endpoints is extremely short, though browser cache is 12 hours. Returning visitors will receive new files if they are changed within 12 hours, but new visitors will always receive the latest files from the CDN.

ForeSee® On-Premises Deployment

(NOT YET AVAILABLE!)
In some cases, clients prefer not to host the client code in the cloud. If this applies to you, ForeSee is working on an option in which the majority of files may be hosted by you.

Staging and Deployment Environments

Regardless of which hosted option you are using (#1, or #2), we support both staging and production environments with unique URLs. You can take advantage of this to make testing easier as you roll out changes to your website. Both environments utilize the same web-scale infrastructure, but are totally isolated from each other.

Other articles in this section:

  1. Deployment Options (current article)
  2. The Embed Snippet
  3. ForeSee® On-Premises Deployment