Hosting Preparations Download Speed Kit's Service Worker script and upload it to your server.

Hosting Preparations

Download Speed Kit Service Worker
In order for Speed Kit to work, the Speed Kit Service Worker has to be hosted in your website's root directory: {{this.config.domain}}/sw.js. For detailed instructions, choose your web server or system below:

If you can, simply upload the Service Worker script (sw.js) to your website's root folder.

Option 1: Rewrite the request url for the Service Worker to the actual location:

Option 2: Customize the Service Workers registration path by still giving it root scope

Note: Please make sure to include Speed Kit in the domain-specific config (/etc/nginx/sites-available/{{this.config.domain}}) and not in the global config.

Option 1: Rewrite the request url for the Service Worker to the actual location:

Option 2: Customize the Service Workers registration path by still giving it root scope

Please follow the steps to upload the Service Worker script (sw.js):

  1. Visit the File Manager of the domain, which you want to accelerate with Speed Kit
  2. Usually, the httpdocs folder is selected when entering the File Manager. If not, please make sure to select the root folder.
  3. Select the Upload button on the top left and select the Service Worker file on your computer.

For more information about the File Manager, please visit the related Plesk documentation.

Service Worker not found! We can't find the sw.js on your website. If you renamed the file and are sure that you configured it correctly, please continue. Otherwise, please ensure that you uploaded the Service Worker.