I built a re-imagined version of Hacker News: https://hn.boxpiper.com/ 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://gtmetrix.com/reports/hn.boxpiper.com/B0MMoMay/<p>Happy to discuss on this and learn!