GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.03k stars 9.32k forks source link

Problems with multiple service workers #3724

Closed prash-mi closed 2 months ago

prash-mi commented 6 years ago

Found few issues while using lighthouse for https://www.lenskart.com/

  1. Says "Does not register a Service Worker" , whereas 'Application' tab shows service worker running.

  2. Spawns multiple service workers upon running lighthouse, I had run it twice and attached screenshot shows 3 SW running (1 while site load + 2 while running lighthouse)

Chrome version: Version 61.0.3163.100 (Official Build) (64-bit) OS: Mac OSX 10.12.6

Attached screenshots.

3 sw running sw issue
patrickhulce commented 6 years ago

Thanks for raising this @prash-mi! There's definitely some strange behavior going on here. We'll have to dig into this.

AymericG commented 6 years ago

I have similar issue with https://next.weekplan.net

balasacoe commented 6 years ago

we too have similar issues with https://www.voot.com/. The behavior keeps changes, sometimes audit shows service workers registered successfully and sometimes not.

paulirish commented 6 years ago

Are you guys using some workbox/sw-toolkit stuff for your sw generation?

Wqrld commented 6 years ago

@paulirish Yes, I have this while using workbox

adrianaixba commented 2 months ago

As per Chrome’s updated Installability Criteria, Lighthouse will be deprecating the PWA category in the next upcoming release. For future PWA testing, users will be directed to use the updated PWA documentation. Marking this as closed!