A CDN (Content Delivery Network) ਭੂਗੋਲਿਕ ਤੌਰ 'ਤੇ ਵੰਡੇ ਹੋਏ ਸਰਵਰਾਂ ਦਾ ਇੱਕ ਨੈਟਵਰਕ ਹੈ ਜੋ ਯੂਜ਼ਰਜ਼ ਦੇ ਨਜ਼ਦੀਕ ਲੋਕੇਸ਼ਨਾਂ ਤੋਂ ਕੰਟੈਂਟ ਨੂੰ ਕੈਸ਼ ਕਰਦਾ ਹੈ ਅਤੇ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ — ਲੇਟੈਂਸੀ ਨੂੰ ਘਟਾਉਂਦਾ ਹੈ ਅਤੇ ਮੂਲ ਸਰਵਰਾਂ ਉੱਤੇ ਬੋਝ ਨੂੰ ਘਟਾਉਂਦਾ ਹੈ। ਇਹ ਤੇਜ਼, ਗਲੋਬਲ ਕੰਟੈਂਟ ਡਿਲੀਵਰੀ ਲਈ ਇੱਕ ਮੁੱਖ ਭਾਗ ਹੈ।
CDN ਕੀ ਕਰਦਾ ਹੈ
A CDN caches content at EDGE locations (servers) around the world:
→ users get content from the NEAREST edge server (not the distant origin)
→ reduces LATENCY (shorter distance = faster) for global users
→ offloads the ORIGIN server (edges serve cached content → less origin load)
User → nearest CDN EDGE (cached? serve it) → on miss, fetch from origin, then cache
