Step 1:
Integrate our script tag on every page
<script src="https://example.app.baqend.com/v1/speedkit/install.js?d=production" async crossorigin="anonymous"></script>
Do not copy this example. We will provide your script tag.
Insert our script tag in the HEAD section of your HTML template. An integration via Tag Manager is also possible. Regardless of the scope, we recommend adding it to every page. This way, Speed Kit will always be installed and can start serving whenever needed.
Step 2:
Upload our service worker in your root path
https://www.example.com/wrapper-sw.js
Do not copy this example. We will provide your root path.
wrapper-sw.js
importScripts(`https://example.app.baqend.com/v1/speedkit/sw.js${location.search}`);
Download Service Worker
If it is not possible to upload the Service Worker to the root scope, you can also add it to any other path (e.g. "/static/wrapper-sw.js") and serve it with the following HTTP header: Service-Worker-Allowed: /
Step 3:
Whitelist our server IP ranges
45.140.152.0/22
88.130.168.217
Our servers generate significantly more requests than regular users. In order to prevent your rate limiting and DDoS protection from stopping our requests, you have to whitelist our IP range (45.140.152.0/22). If your staging environments are protected via IP address, please whitelist our office IP range (88.130.168.217) as well.
Step 4:
Validate the Speed Kit integration

We start with a test group split of 0% on production. Speed Kit stays disabled for all users until the quality assurance process has been completed.

Chrome Browser

Install our Speed Kit Chrome Extension for testing. In the "Status" tab of the extension, you can check whether Speed Kit is correctly installed or which installation steps are still needed. If you have Content Security Policies then our extension will tell you, which rules to add. Moreover, our extension enables you to activate Speed Kit solely for your Chrome browser while other users remain unaffected. If you need additional help, please contact the Speed Kit team. In case that you don't want to install the extension, please inform us as well and we will take care of the testing for you.

Other Browsers

For testing in other browsers please use our Speed Kit bookmarklet:

  1. In your browser, go to https://scripts.baqend.com/bookmarklet/ and copy the code into your clipboard
  2. Add a bookmark by clicking on the star icon in the URL bar
  3. In the opened popup click on “More...”
  4. Name the bookmark, paste the code into the URL field, and safe the bookmark
  5. Go to the site where Speed Kit is installed
  6. Click on your Speed Kit bookmarklet
  7. The appearing pop will show some information about the current navigation and also lets you change the Speed Kit group. To switch to the Speed Kit group, type "A" into the text field, hit “OK”, and reload to install the Service Worker. To switch to the non-Speed Kit group, type "B" into the text field, hit “OK”, and reload to uninstall the Service Worker.

The bookmarklet works in other browsers accordingly.

Safeguards

You can disable Speed Kit for all users at any given time. Simply open the “Status” tab in your dashboard and click the “Disable Speed Kit” button. Whenever there is a problem (e.g. downtime) on our side, Speed Kit will automatically disable itself.

Rollout Timeline
Web Dashboard