You are configuring an Azure CDN endpoint to serve static images for an online catalog. The images are updated infrequently, but users append query parameters such as version numbers (e.g., image.png?v=1.2) to the URLs. You want to ensure that the CDN serves the cached image regardless of any query strings provided in the request to maximize the cache hit ratio and reduce traffic to the origin.
Which query string caching behavior should you configure for the CDN endpoint?
- Ignore query stringsCevap
- BBypass caching
- CCache every unique URL
- DRedirect query strings
Cevap
Ignore query strings
The setting that ignores query strings is correct. Under this behavior, the first request is cached, and all subsequent requests with different query strings (such as version numbers) are served from the cache, maximizing the cache hit ratio and minimizing origin requests.
Adım Adım Çözüm
Anahtar Kavram
Azure CDN Query String Caching Behavior
Tahmini Süre:45s