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

How To Alter The Headers Of A Response?

Is it possible to alter the headers of a Response object, as returned by fetch()? Suppose I want to… Read more How To Alter The Headers Of A Response?

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

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?

Storing Rest Requests With Service Workers To Sync Them

I'm thinking about taking my application to offline using service workers. I'm already achi… Read more Storing Rest Requests With Service Workers To Sync Them

Service Worker In Subdirectory, But I Want Scope To Be Root

I am having service worker js in subdirectory (/data/system/) but I want it's scope to be from … Read more Service Worker In Subdirectory, But I Want Scope To Be Root

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?