Software Engineer Boosts Lighthouse Score by Disabling JavaScript on Personal Site

Faran Aiki, a software engineer and ITB student, conducted a performance audit of his personal portfolio website faranaiki.id and identified several bottlenecks hurting its Lighthouse score. He resolved layout thrashing issues caused by synchronous DOM measurement calls by deferring them with setTimeout, requestAnimationFrame, and ResizeObserver. Oversized images on mobile were fixed by using viewport-based size hints, prompting Next.js to serve smaller image variants and reducing Largest Contentful Paint. A heavy D3-powered interactive graph was lazy-loaded with dynamic imports and server-side rendering disabled, cutting Total Blocking Time significantly. Ultimately, disabling JavaScript on certain parts of the site proved to be the most impactful single change for improving overall performance metrics.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in