Complete the code to specify the cache expiration header for static content.
Cache-Control: max-age=[1]The max-age directive sets the cache expiration time in seconds. For static content, a value like 3600 seconds (1 hour) is common.
Complete the code to define the CDN edge server behavior for cache miss.
If cache miss, fetch content from [1]
On a cache miss, the CDN edge server fetches the content from the origin server.
Fix the error in the cache key definition for CDN caching.
Cache key = URL + [1]The cache key usually includes the URL and relevant request headers like cookies or query strings to differentiate cached content.
Fill both blanks to configure CDN cache invalidation correctly.
To invalidate cache, send a [1] request to the CDN with the [2] URL.
Cache invalidation is done by sending a PURGE request to the CDN specifying the target URL to remove from cache.
Fill all three blanks to define a cache-control header that allows CDN caching but forces revalidation after expiry.
Cache-Control: public, max-age=[1], [2], [3]
This header means the content is public, cached for 3600 seconds, proxies must revalidate after expiry, and clients must also revalidate.