Nothing here yet.
freelancing, full-stack development, mentoring.
No blogs yet.
Lalit That is where my question comes. getStaticProps , getStaticPaths and ISR keeps the pages in local disk. Suppose i want to serve the page from CDN to reduce the load on the server. Then can we do this at run time, i mean upload new pages on to the CDN at run time.
Hunter Trammell This way, when we use ISR/ISG(next.js) then for any new page which has been added on run time won't be deployed on CDN. For that we need to rebuild the app and export them. Building the entire app each time a new page being added is not scalable.
Hunter Trammell incremental static generation(ISG) - also keeps the page in disk once they are build at run time. Is there any way to upload the files over CDN like S3 or cloudfare to serve the pages from nearest locations?