You are configuring an Azure CDN Standard from Akamai endpoint to deliver a game configuration file named config.json for a mobile game. The mobile client appends a unique, dynamic user session identifier as a query string parameter, such as config.json?session=usr_98231, to every request. The configuration file contents are identical for all users and change only during scheduled maintenance. You need to configure the CDN endpoint to minimize origin server load and maximize cache performance. Which query string caching behavior should you configure?
- Ignore query stringsCevap
- BCache every unique URL
- CBypass caching
- DDisable query string parameters in the endpoint configuration
Cevap
Ignore query strings
Ignoring query strings is the optimal setting because the configuration file's content does not vary by user or session. By ignoring the unique session ID query parameter, Azure CDN caches the resource on the first request and serves that cached resource for all subsequent client requests, drastically improving cache hit ratio and reducing origin server load.
Adım Adım Çözüm
Anahtar Kavram
Azure CDN Query String Caching Behavior
Tahmini Süre:1m 30s