Web Directions Global Scope ’22 session spotlight–Improve your Lighthouse score with Partytown
Improve your Lighthouse score with Partytown
Today, even a static site is full of JavaScript to add menus, interactivity, and third-party analytics scripts such as Google Tag Manager, which can drastically lower your Lighthouse score. Partytown provides a way to improve performance scores by running third-party scripts from a web worker.
A JavaScript based site consists of two sources of slow down, the site itself and third-party scripts. Partytown is going to solve the the latter, by removing third party scripts from the main thread of your website.
The philosophy is that the main thread should be dedicated to your code, and any scripts that are not required to be in the critical path should be moved to a web worker. Main thread performance is, without question, more important than web worker thread performance.
Adam Bradley
Adam is the Director of Technology at Builder.io, focused on pushing the web forward with innovative technologies such as Qwik and Partytown. Adam leads teams in developing high-performing user interfaces with the latest technologies.
Adam’s past roles include being the Director of Technology at Ionic, where he co-created the Ionic Framework and helped to develop CapacitorJS. Additionally, Adam created StencilJS, which is a toolchain for building reusable, scalable Design Systems. He is an open-source and web-standard enthusiast.
Great reading, every weekend.
We round up the best writing about the web and send it your way each Friday.