paws on progressive web apps (pwa) - developer summit...9 q @ 1:30 flipkart needs access to device...
TRANSCRIPT
17
• Client side proxy. • Intercepts network. • Sorts HTML5 Application Cache mess. • Highly influenced by Shared Workers and Event Pages. • Design principle of 'error recoverability • Neat promise based APIs
Service workers has **no** access to DOM, but can access:
• The navigator object • The location object (read-only) • setTimeout()/clearTimeout() and setInterval()/clearInterval() • The Application Cache • * Importing external scripts using the importScripts() method • Other service workers.