Tools • Solution ◦ Explicit import ◦ Fix some Libraries ◦ Lazy load scripts as much as possible ▪ 1st Party ▪ 3rd Party ◦ Offload 3rd Party Script ◦ Partytown • Results • TODOs 6 web-app-frontend Agenda
page is loaded. Specifically, LCP measures the time from when the user initiates loading the page until the largest image or text block is rendered within the viewport. • To provide a good user experience, sites should strive to have an LCP of 2.5 seconds or less for at least 75% of page visits. 14 web-app-frontend Largest Contentful Paint LCP
First Contentful Paint FCP) where the main thread was blocked for long enough to prevent input responsiveness. • To provide a good user experience, sites should strive to have a Total Blocking Time of less than 200 milliseconds when tested on average mobile hardware. 15 web-app-frontend Total Blocking Time TBT
interaction responsiveness is coming to Core Web Vitals! On March 12 Interaction to Next Paint INP) will become one of the three essential metrics to delivering great UX on the web Start here to learn more and get prepared 👇 https://t.co/wtmVzhHP0l" / X (twitter.com)
resources that it use on that page and load other resources later (lazy). Not all users have the super fast speed network. 44 web-app-frontend Lazy loading
scripts that can be embedded into any site directly from a third-party vendor. These scripts can include ads, analytics, widgets and other scripts that make the web more dynamic and interactive. - Examples of third-party scripts include: - Analytics & metrics scripts - A/B testing scripts for experiments - Helper libraries (such as date formatting, animation, or functional libraries)
how Partytown is able to have a blocking call in the web worker, but still asynchronously send/received data between threads https://t.co/A5wiZrNGmr" / X (twitter.com)
communication between threads compare to the service-worker requests) • Find a way to offload Datadog RUM from the main thread • Replace Form library (zod) to smaller alternative (valibot) • Fix "request waterfall problem" of Module Federation with prefetch • Inline Critical CSS Tailwind • … 68 web-app-frontend TODOs