Hosting content on a Private server
  • 01 Sep 2022
  • 1 Minute To Read
  • Dark
  • PDF

Hosting content on a Private server

  • Dark
  • PDF

Whatfix content can be easily exported and deployed from your servers. Self-hosting is useful when you are on an internal network and cannot access the Flows from the Whatfix cloud or when your IT security doesn't allow resource loading from remote servers.

Use the following steps to host Whatfix content on your server,

  1. Navigate to the Whatfix Dashboard.

  2. On the top right, click the Settings icon.

  3. Click Export Content.
    RB_DB_Settings_export content

your title goes here

If you do not see the Export Content option, contact [email protected].

  1. Click Export

  2. A download link is sent to your registered email address.

  3. Click the link to download the file.

  4. Extract the content of the zip file to your server. The extracted folder contains a file called embed.nocache.js inside the embed folder.

  5. This file needs to be added as a static file in your application's HTML file as shown in the following code snippet.

<script type="text/javascript" src="/public/"></script>

Server Setting

Make sure your web server has Cache-control set to "no-cache" for the *.nocache.js files so that the request to the origin server is validated before releasing a cached copy.

The following are the popular Web servers and their no-cache settings,


<FilesMatch ".(nocache.js)$">
Header set Cache-Control no-cache
< /FilesMatch>


location ~ ^.*(nocache.js)$
add_header Cache-Control no-cache;

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.