Service Worker (Cycle, High Performance Loading)

Service Worker (Cycle, High Performance Loading)

Service Worker

A service worker is a script that is run in the background by your browser. We currently use them for push notifications and user identification. Everything working in the background.

Service Worker Life Cycle

The web page has a totally different lifecycle than the Service Worker. To install a Service Worker you have to first register it on your main page. Registering a Service Worker will the cause browser to download the Service Worker file and initiate its install step in the background.

High-performance service worker loading

The service worker adds significant performance benefits, which can go even beyond what is possible when compared to browser caching practices.
Here below are some good practices to be followed to try to obtain a significant performance gain.


Never use a "passthrough" fetch handler
Streaming composite responses
Use navigation preload when appropriate
Caching static HTML






    • Related Articles

    • From where can I find service worker file?

      Create a web application with the "Push Enabled" option, the system creates a service worker file. Find the service worker file following the path. Setting > Applications > "your web application" > Actions > See to Setup Guide path.  Your service ...
    • SMS Service Provider ITS & Karix

      SMS is becoming an increasingly important part of effective multi-channel marketing. As you think about adding SMS to your messaging channels, there are definitely a lot of reasons why you should. SMS is very effective and has the highest open ...
    • SMS Service Provider ITS & Karix

      SMS is becoming an increasingly important part of effective multi-channel marketing. As you think about adding SMS to your messaging channels, there are definitely a lot of reasons why you should. SMS is very effective and has the highest open ...
    • Can I see all my sends' performance within a given time period?

      Yes, to see all sends' performance, follow these steps: Go to Analytics and click on Channel Report. Select a channel and change the time period to access the reports.
    • How can I implement web SDK?

      Execute the following steps to implement web SDK: Create a web application on Admin Panel. Then, the system will provide a JavaScript code and service worker file. Add the JavaScript code to your website's source code (You must put it into <head> ...