Relative Content

Tag Archive for wordpressnext.jsaws-amplifynextjs14

Caching multilingual Nextjs website deployed on AWS amplify

I am using Nextjs App router of version 14.0.3 to build a multilingual website using headless wordpress. The total pages with the multilingual pages are about 500 pages. This website takes about 45 minutes to build, however, after deploying , i expected that the pages will be served instantly i static build them, but it still takes about 4 or 5 secs to show each page. I have gone through next js docs on generateStaticParams but i am yet to solve the problem.