Best Practices for Optimizing Next.js App with Decoupled Backend/API #78155
-
Summaryreposhare its a product built using a Next.js app where the backend is completely decoupled and acts as an external API (not part of the same monorepo or runtime). This external API is responsible for querying the database and returning results, often after processing/filtering the data. As my app grows, I'm noticing increasing response times, especially on pages or routes that require too much suspense time and multiple API calls to get different pieces of data. I'd love to get input on: General architectural principles to keep in mind when your data source is a remote API Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
When dealing with a decoupled backend via external APIs, focus on:
|
Beta Was this translation helpful? Give feedback.
When dealing with a decoupled backend via external APIs, focus on: