davidksanusi / countries-front-end-v2

0 stars 3 forks source link

Optimize build step #5

Closed ahmedivy closed 2 months ago

ahmedivy commented 2 months ago

Nextjs does not cache any form of data in build step, so in order to optimize our build step we have to use some prebuild step to fetch all data and then using that data while generating static pages.

Plugin used: https://github.com/ricokahler/next-plugin-preval