What to upload into Azure CDN after using generateStaticParams
Unanswered
Cape lion posted this in #help-forum
Cape lionOP
Hi all,
I am working on a nextjs web app and currently we are implementing the
Now my main question is; what should I upload into our Azure CDN? Like, for the images I have to upload the storage bucket, which has a name, and because that name it's already creating another segment/path.. How should this be done properly? 😦 Very confused
I am working on a nextjs web app and currently we are implementing the
generateStaticParams with multiple dynamic segments.. The plan is later to deploy the static generated pages onto the Azure CDN, which we already use for images.. But; I am confused on how to handle this.. Like, we will have the following segements:website.com/listings/[categorySlug]/[citySlug]/[id]/[titleSlug] -> we will only create static pages for the ending of the path, so listings, categorySlug, citySlug will still be dynamic and server rendered.. When I do pnpm build I see inside the .next directory all the pages being build, all the html files including the directories of the paths before them, i.e.: .next/server/app/listings/categoryA/cityB/123/title-here.html .Now my main question is; what should I upload into our Azure CDN? Like, for the images I have to upload the storage bucket, which has a name, and because that name it's already creating another segment/path.. How should this be done properly? 😦 Very confused
1 Reply
Cape lionOP
anyone? 😦