Designly
Jul 28, 2023

Good point. GetServerSideProps really slows down response time. Also consider using redis to cache request as well. You could build redis right into whatever ORM you’re using. The cool thing is the new app router has some great new features that improve the user experience like suspense boundaries and the clever use of the fetch api, better cache handling, etc.

Also consider using GetStaticProps any where you possibly can. After all that’s probably Nextjs’s biggest selling point.

In any case, it takes a certain amount of time to get data from point A to point B. And these days with the microservice architecture everyone is addicted to those times have greatly increased. So the use is going to have to wait for their data it’s all a matter of HOW you make them wait.

Designly
Designly

Written by Designly

Full-stack web developer and graphics designer.

No responses yet