Integrating our service is easy.

You can either embed a tiny JS script (that uses service workers) or point your website assets to our domain. Or, you can do both.
Step 0
Sign up for free.
Once you sign up, we will give you the necessary files and walk you through the integration process. We will also email you the details for reference.
Note: Step 1 involves Service Workers API, and hence requires the website to be served over HTTPS. If your website is not over HTTPS, please skip to Step 2. Without Step 1, some of the advanced optimization techniques may not be available.
Step 1
Add the javascript.

You will be given a tiny javascript file (~1.1 KB gzipped) called dexecure-xxx.js and an optimizing code snippet.

You should put the javascript file into the root folder of your website without changing the filename so that it is accessible from https://example.com/dexecure-xxx.js.

You then should put the optimizing code snippet (unaltered) before the closing </head> of the HTML file. Due to the nature of Service Workers, putting the code in one HTML file enables the optimization for the user for all subsequent visit to the HTML files served from the same directory. However, we recommend to put the code in all HTML files so that the optimization can be triggered from any page.

Note: Service Workers API is supported by Google Chrome, Firefox, and Opera. Microsoft Edge will support soon and support by Safari is under consideration. If you want to support browsers that do not support Service Workers yet or your website does not have HTTPS enabled, please move to Step 2.
Step 2
Point your website assets.

You will be assigned a dedicated Dexecure domain 000.dexecure.net (more than one depending on the number of websites your assets live in).

Change the domain of your assets to point at the Dexecure domain. For example, change http://example.com/images/sample.png to http://000.dexecure.net/images/sample.png. You do not have to change the filenames or file structure of your assets (that's the Dexecure magic!).

If you use a content management system such as WordPress, Shopify or Magento, feel free to contact us and we will guide you through the process.

That's it folks!

Our service will start within 30 minutes of complete installation. If you have any questions, see the FAQ or feel free to contact us at [email protected].