Skip to content Skip to sidebar Skip to footer
Showing posts with the label Service Worker

Service Worker: Redirecting A User To Different Url When He Clicks The Notification

This snippet helps in either bring in the app tab in focus or open a new tab with that URL. If the … Read more Service Worker: Redirecting A User To Different Url When He Clicks The Notification

Does Service Worker Request, Response From Server Continuously?

I'm using server send event to display a notification.I have created a service worker and i use… Read more Does Service Worker Request, Response From Server Continuously?

How Do I Sync Data With Remote Database In Case Of Offline-first Applications?

I am building a 'TODO' application which uses Service Workers to cache the request's re… Read more How Do I Sync Data With Remote Database In Case Of Offline-first Applications?

How To Register A Service Worker From Different Sub Domain

I have two subdomains: https://abc.xxxx.com and https://xyz.xxxx.com. So my questions: 1). is it p… Read more How To Register A Service Worker From Different Sub Domain

Using Serviceworker To Intercept And Redirect Requests

I've been asked to create a service worker which will have the ability to intercept requests an… Read more Using Serviceworker To Intercept And Redirect Requests

Google Chrome Push Notifications Not Working If The Browser Is Closed?

It is written here that the push notifications will work even if the browser is closed, but I teste… Read more Google Chrome Push Notifications Not Working If The Browser Is Closed?

Use ReadableStream With Response To Return HTML From Fetch Event Of Service Worker

I'm trying to return a stream for the HTML response in a service worker but the browser does no… Read more Use ReadableStream With Response To Return HTML From Fetch Event Of Service Worker