It wakes up when it gets an function and runs only provided that it has to process it. Support worker allows you to utilize the Cache API to cache assets and can be used to offer buyers with an offline experience. They observed 9% larger user retention with their PWA https://lukasazxto.blogmazing.com/34624435/5-simple-statements-about-custom-pwa-development-explained