Uploading .next/server/pages to CDN
Unanswered
Sun bear posted this in #help-forum
Sun bearOP
Hey! I'd like to know your thoughts on uploading the ISR pages to a CDN.
The docs say this:
"The only folder you need to host on your CDN is the contents of .next/static/, which should be uploaded as _next/static/ as the above URL request indicates. Do not upload the rest of your .next/ folder, as you should not expose your server code and other configuration to the public."
So I'm concerned if there will be side-effects if I upload the .next/server/pages folder with EFS to utilize AWS Cloudfront?
The main issue I'm looking to solve is to have
1. More storage for almost 1 TB of files (potentially)
2. Faster access to the files (using a CDN)
Thank you so much in advance.
The docs say this:
"The only folder you need to host on your CDN is the contents of .next/static/, which should be uploaded as _next/static/ as the above URL request indicates. Do not upload the rest of your .next/ folder, as you should not expose your server code and other configuration to the public."
So I'm concerned if there will be side-effects if I upload the .next/server/pages folder with EFS to utilize AWS Cloudfront?
The main issue I'm looking to solve is to have
1. More storage for almost 1 TB of files (potentially)
2. Faster access to the files (using a CDN)
Thank you so much in advance.