Removing Next.js Got My Blog to 100 on Every Lighthouse Category

textlanes33 94 points 47 comments October 26, 2026
korindiehacker.bloffy.blog · View on Hacker News

Discussion Highlights (14 comments)

aftbit

What are the best static site generators for blogs these days?

4pkjai

I wrote not so basic CRUD application that uses HTML and vanilla javascript. I don't even minify the javascript. That website loads significantly faster than all the other websites I have made.

post-it

We use nextjs at work and I hate it. Why write each view once when you could write it twice? I'm open to the idea that we're doing it wrong and that there's a correct and pleasant way to write nextjs, but I think with the tools available today, everyone should just profile and optimize their app so they don't need to render it serverside.

LoganDark

Caching isn't essential if you can come up with the pages fast enough, unless you need a CDN due to factors like distance.

dzink

I’ve been beating giants in SEO with a static site precompiled at deployment time through includes with Gulp. Plain vanilla JS and CSS.

benmccann

I got straight 100s using SvelteKit on https://c3.ventures

SwellJoe

I use Hugo published to Github Pages for my blog. I've never thought about performance (it's Fast Enough™ when I visit it), but I just checked and it's 100 on pagespeed. The magic of a static HTML blog is you don't have to think about performance. An entire category of problem just disappears.

ogou

The vast majority of websites don't need Next.js or React. Those are only useful if you need dynamic and modular updates within the structure, or state management. We've defaulted to React because of the name recognition and simple intertia. It's not a good framework for websites in general.

sampli

Nextjs can get you 100 if you use it properly. Like anything it’s just a tool that can increase complexity if you want it to

reassess_blind

I feel like these large frameworks will slowly die out with the advent of agents. The big selling point of them was a fast, convenient dev experience with many features (most often unused) being built-in. Now, those built-in features are becoming a security risk as more vulnerabilities are being found in their 1000s of lines of code, and the developer experience benefit is being nullified by agents whittling away the human involvement anyway.

altmanaltman

It's pretty easy to get 100 on every lighthouse category even while using next. The scoring is based on how fast a page loads and what blocks its loading time. If you develop it with a bit of care, that is a non-issue. My funny agency website ( https://www.pixlw.com/ ) is purely nextjs and it scores a 100 on Lighthouse as well because I kept working on it till it didn't.

pigbearpig

Respectfully, I don't understand this. They never needed Next.js for a static blog. This is like writing a post about how I didn't need a Ferrari to commute to work and I saved money by taking the bus.

Exoristos

Do tech influencers never tire of announcing their incompetency in their subject area?

firefoxd

Not to brag*, but that's what I've been doing since 2013 on my php blog [0]. It was actually the result of a hn warm hug of death. My CDN is just a separate webserver serving all static assets using nginx. Both my css and js are dynamically minified and included in the html depending on which component is loaded on the page. [0]: https://idiallo.com/blog/handling-1-million-web-request * I am bragging

Semantic search powered by Rivestack pgvector
10,559 stories · 99,680 chunks indexed