Blog Reaches 100 in Every Lighthouse Category After Dropping Next.js
The author's blog reached a perfect 100 in every Lighthouse[1] category after Next.js was removed and the site was rebuilt with Hono, with all measurements taken through pagespeed.web.dev. The goal was a blog that is light, fast and clutter-free, able to run multiple blogs and fully accessible. Ready-made platforms fell short: Medium and Blogger are bloated with features, WordPress means 'plugin hell', Ghost has to be self-hosted and every upgrade broke something in its editor, Hugo is still a hassle to set up, and Bear Blog is fast but extremely minimalist, with an editor UX that did not suit the author.
Caching in Next.js through ISR[2] and the extended fetch option helps within one region, but visitors from other regions still run into network latency, so the author concluded that a static site only needs a CDN. Lighthouse also reported a substantial amount of legacy JavaScript from the runtime Next.js ships in its bundle: removing every client component[3] changed nothing, because next/link and next/image are themselves client components, while the runtime, router and error boundaries of the App Router[4] remain, and there is no official way to strip them out. Unused JavaScript alone came to 230,460 bytes.
The author picked Hono for its 'fast and simple' philosophy and its JSX support. The rebuilt site scored 100 across the board with no JavaScript at all, unused code dropped to 407 bytes, and build time fell by about 40%. The long task that runs before anything is rendered took 309.3ms on Next.js versus 68.01ms with Hono, an improvement of roughly 78%. The author still sees Next.js as a great choice for interaction-heavy apps, and the blog's management app is built with it.
Read the original korindiehacker.bloffy.blogDiscussion
Sources
-
korindiehacker.bloffy.blog
Removing Next.js Got My Blog to 100 on Every Lighthouse Category
-
KRGeekNews KO
Next.js를 제거하자 내 블로그의 모든 Lighthouse 항목이 100점을 기록함



