Dev cuts Blazor WebAssembly site LCP from 8s to under 2s with six small fixes
A developer running SmartTaxCalc.in, a 38-page Blazor WebAssembly tax calculator hosted on Cloudflare Pages, reduced mobile Largest Contentful Paint (LCP) from 6–8 seconds to under 2 seconds over a single weekend. The site had been failing Core Web Vitals for months, with repeated Lighthouse warnings and SEO advice to abandon Blazor entirely for frameworks like Next.js. Instead, the developer pursued a performance audit that resulted in six targeted commits, mostly small code changes rather than architectural rewrites. Key improvements included removing an unnecessary service worker registration on every page load and eliminating a version-check script in index.html that was triggering forced reloads. The fixes demonstrate that Blazor WebAssembly performance issues can often be addressed through incremental optimisation rather than a full framework migration.
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