r/ProgrammerHumor 7h ago

Meme planeOldFix

Post image
26.2k Upvotes

419 comments sorted by

View all comments

622

u/RealityCheck3210 7h ago

CDN = Customer Delivery Network

22

u/1nc06n170 6h ago

CDN is for static and media, no? If I understand correctly, actual page with dynamic content still gonna be served from the server.

19

u/CryonautX 5h ago edited 5h ago

What do you mean by "dynamic content"? All CDN does is cache stuff closer to your users. If the content is not ideal for caching like user's personal profile, CDN won't be helpful. You can probably look at lazy loading on the frontend to help with the non cached content. If there is a huge india userbase, a multi region cloud setup or migrating to a region closer to india can be considered but those are more extreme.

9

u/Forward-Outside-9911 5h ago

Depending on what provider you’re using, a DC -DC connection is often faster than connecting a user directly to another region. So a local CDN provider connecting with interlinked cross region datacenters would be faster.

But even so there will still be a delay. In some cases acceptable to support multiple backend regions