TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

10x performance improvement after transitioning to Next.js

1 pointsby sanmakalmost 4 years ago
I built a re-imagined version of Hacker News: https:&#x2F;&#x2F;hn.boxpiper.com&#x2F; on top of create react app and added some webpack configurations for performance boost.<p>Because of SSR, app used to take a considerable amount of time for the processing and rendering. Used redis for caching but performance was still a question. The intent was to never wait for data. It should be readily available.<p>So, i migrated the app to Next.js (11.0.1) because of an in-built feature of Static Site generation (most important), webpack configurations (most important), image optimisations, etc. and it works like rocket! Speed is super awesome and now it actually works like 202X way!<p>Earlier the FCP and LCP values was way bad. Current FCP is 322ms and LCP is 821ms. Still I can improve on this!<p>GT Metrix report: https:&#x2F;&#x2F;gtmetrix.com&#x2F;reports&#x2F;hn.boxpiper.com&#x2F;B0MMoMay&#x2F;<p>Happy to discuss on this and learn!

no comments

no comments