DEV Community

Discussion on: Perfecting PageSpeed βš‘οΈπŸš€

Collapse
hemant profile image
Hemant Joshi 😼

Use lighthouse.com to test the chrome based extension differs due to your system, I use grammaly extension due to which lighthouse shows my page 26/100 and actually the true value is 89..

Idk why but this happens with lighthouse extension

Collapse
ramesh profile image
Ramesh Elaiyavalli Author

Hi Hemant - Always test on Incognito or Private mode and make sure there are no browser extensions active. This will give you a clean test.

Collapse
aleksandrhovhannisyan profile image
Aleksandr Hovhannisyan

I'm using the Lighthouse built into Chrome dev tools, not the extension.

Thread Thread
hemant profile image
Hemant Joshi 😼

Ya the built in is kindof extension added in chrome, and Ramesh told that test the site in incognito mode.

Thread Thread
aleksandrhovhannisyan profile image
Aleksandr Hovhannisyan

Yup, I always test in incognito. Otherwise my extensions slow down Lighthouse.

Thread Thread
ramesh profile image
Ramesh Elaiyavalli Author

Great! Another thing that worked for us - to use #test filters. This will help test with and without service workers.

In the Chrome dev tools, go to the Application tab, and service workers. Unregister sw.js. Then launch srclogix.com/#test - you will run this without the service worker. The network payload will become a lot less - LightHouse will stop complaining as there is no PWA cache. I will explain the #test idea in another post.

Lots of fun things we built behind the scenes! πŸ˜€πŸ‘

Thread Thread
hemant profile image
Hemant Joshi 😼

This seems for interestingπŸ˜³πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰