Choosing what CDN nodes we deploy our site to

https://thunderous-hotteok-eeeda3.netlify.app/

Hi,
My client wants to only deploy site to certain CDN nodes to cut down on carbon footprint.
Is this possible hosting our NextJS app on Netlify.

Appreciated any feedback on this.

No. Your app would be deployed to all CDN nodes on Netlify. It’s not possible to restrict it only to some specific nodes.

Thanks for confirming that. I’m in the UK.
Does this mean the files are served to all locations, say China. Even if the files are not requested from a user in that location (China).
Thanks in advance.

No. Files will be stored in the US by default. If someone makes a requst from China, they’d be served and stored in that CDN node until it gets removed from cache due to various factors.

Sorry to be a pain but I need explain this to the PMs.
What is meant when you say v’various factors’
Thanks

It’s difficult to summarise but here are some important factors:

  • Number of times the file is being requested
  • The cache-control headers
  • Load on that CDN node
  • Traffic receicved by other users on the same CDN node
  • If you re-deploy, the cache would be purged, so it would again be deleted from the node
  • The size of the file
1 Like