Blog Achieves Perfect Lighthouse Score After Switching to Hono
A developer replaced Next.js with Hono to eliminate unused code and achieve a perfect Lighthouse performance score.
A blog author achieved a perfect score of 100 on every Lighthouse category by removing Next.js from their site. The decision followed a review of other platforms, where Medium and Blogger were deemed too bloated, while WordPress and Ghost presented issues with plugins and editor stability. The author identified that unused code in the Next.js bundle amounted to 230,460 bytes, a significant factor in performance metrics.
After switching to the Hono framework, the site no longer included JavaScript, and unused code dropped to 407 bytes. The long task before rendering decreased from 309.3ms on Next.js to 68.01ms on Hono. Additionally, the build time went down by about 40%. The author noted that a JavaScript payload including hydration is not needed for most static sites. All performance measurements were conducted using pagespeed.web.dev.
The Lighthouse SEO score remained at 69 because the site deliberately blocks search indexing for testing purposes. The management app for the blog continues to be built with Next.js, while the article itself is published on the Bloffy platform.
Sources
Every sentence of this story was checked against facts quoted from these articles. How we make the news
Spotted an error? Tell us
