DEV Community

FatimaAlam1234
FatimaAlam1234

Posted on

NextJS - SGP (Statically Generated Pages

Issues ->

  1. If the website is quite big like an e-comm platform there are 1000's of server pages which might take a lot of time to build.
  2. Build time -> proportional to no. of statically generated pages.
  3. For a platform like e-comm 10% of data (statically pre-rendered) whereas other 90% fetched afterwards may seem like an option.
  4. Still, the most evident problem is of _stale _ data.
  5. If we change any data, the pre-rendered pages will read the same old data.

Top comments (0)