Complete the code to identify the primary purpose of a CDN in content delivery.
A CDN primarily helps to [1] content closer to users.A CDN caches content on servers near users to reduce latency and improve load times.
Complete the code to show the step where user requests are directed to the nearest CDN server.
When a user requests content, DNS [1] directs the request to the closest CDN edge server.DNS routing helps direct user requests to the nearest CDN edge server for faster content delivery.
Fix the error in the description of CDN cache invalidation.
CDN cache invalidation is the process of [1] outdated content from edge servers.
Cache invalidation means removing outdated content so fresh content can be served.
Fill both blanks to complete the CDN request flow correctly.
User requests content -> DNS [1] -> CDN edge server [2] content if cached -> origin server if not cached.
DNS routing directs requests; CDN edge servers serve cached content to users.
Fill all three blanks to complete the CDN cache control logic.
Cache-Control header: max-age=[1], must-revalidate=[2], proxy-revalidate=[3].
max-age sets cache duration; must-revalidate true forces revalidation; proxy-revalidate false allows proxy caching without revalidation.
