Most of the browsers provide localStorage with the storage limit of 5MB per domain. Are there such memory limits/constraints with respect to service workers?  I know that web workers (on which service workers are based) don't have such limitati...
I have two subdomains: https://abc.xxxx.com and https://xyz.xxxx.com. So my questions:     1). is it possible to register a service worker for   https://xyz.xxxx.com from https://abc.xxxx.com  ? if yes then how?      2). if http://abc.xxxx.com (http...
What can service workers do that web workers cannot? Or vice versa?  It seems that web workers are a subset of the functionality of service workers. Is this correct?...
I'm a newbie in React and I was wondering what is the purpose of registerServiceWorker() in the following code?  import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import registerServiceW...
since the new update of Google Chrome (version 69.0.3497.92 (official build) (64-bit)) I can't find the serviceWorker service in the Navigator anymore. Actually I could register my Service Worker as follows but now I get an error that serviceWork...
The bounty expires in 6 days. Answers to this question are eligib...
In app.js,  I am checking the serviceWorker existence in navigator object and if available then registering the SW.  if ('serviceWorker' in navigator) {     navigator.serviceWorker.register('./service-worker.js', { scope: './'...
I'm registering my service worker, and in the registered callback, loading some cached files  if ('serviceWorker' in navigator) {     navigator.serviceWorker.register('swRoot.js').then(() => {         console.log('registere...
I want to add service worker to my site to offer a good offline experience to my site users. (Site back-end is PHP)  I'm still new to Javascript promises and service workers, but here is what i reached so far :  my index.php page has this script...
I'm trying to register a service worker in an https iframe inside an http (unsecured) site. Until lately, my code ran without any issues. From the last chrome update (44) this code fails inside the iframe:  navigator.serviceWorker.register('....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.