NextJS Performance Checklist

Building React applications with NextJS is a great way of getting things in front of customers quickly. But you might find that they aren’t using your site because it’s too slow. Here’s a list of things you might be able to do to improve the performanc…


This content originally appeared on DEV Community and was authored by Ben Read

Building React applications with NextJS is a great way of getting things in front of customers quickly. But you might find that they aren't using your site because it's too slow. Here's a list of things you might be able to do to improve the performance of your NextJS application.

I've geared this towards NextJS for a few specifics I wanted to include, but this list can be applied more generally too.

Applications

Images

Styles

Fonts

Scripts

Data

  • Only fetch data you need (consider using GraphQL)
  • No API chaining (consider using GraphQL)
  • Minimise data normalisation (offload to a standalone function or backend)

Third-party scripts

Perceived performance

There are two benefits to implementing as many of these as you can: conversions will likely improve because more users can use your app. And also you will save your own costs: less downloads, less bandwith and where you can cache from origin, you'll save on infrastructure costs.

I'm sure this list isn't quite complete, let me know if there's anything I've missed!


This content originally appeared on DEV Community and was authored by Ben Read


Print Share Comment Cite Upload Translate Updates
APA

Ben Read | Sciencx (2021-08-06T08:05:28+00:00) NextJS Performance Checklist. Retrieved from https://www.scien.cx/2021/08/06/nextjs-performance-checklist/

MLA
" » NextJS Performance Checklist." Ben Read | Sciencx - Friday August 6, 2021, https://www.scien.cx/2021/08/06/nextjs-performance-checklist/
HARVARD
Ben Read | Sciencx Friday August 6, 2021 » NextJS Performance Checklist., viewed ,<https://www.scien.cx/2021/08/06/nextjs-performance-checklist/>
VANCOUVER
Ben Read | Sciencx - » NextJS Performance Checklist. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/08/06/nextjs-performance-checklist/
CHICAGO
" » NextJS Performance Checklist." Ben Read | Sciencx - Accessed . https://www.scien.cx/2021/08/06/nextjs-performance-checklist/
IEEE
" » NextJS Performance Checklist." Ben Read | Sciencx [Online]. Available: https://www.scien.cx/2021/08/06/nextjs-performance-checklist/. [Accessed: ]
rf:citation
» NextJS Performance Checklist | Ben Read | Sciencx | https://www.scien.cx/2021/08/06/nextjs-performance-checklist/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.