This website uses cookies to ensure you get the best experience.
Learn more.
An origin returns different product-search results for /search?lang=en and /search?lang=fr. A CloudFront behavior caches these responses but its cache policy excludes lang. Users sometimes receive results in the wrong language. What is the most direct configuration fix?
Published
- Increase the minimum TTL so language-specific responses stay cached longer under the same key.
- Include lang in the cache key through the cache policy and clear or expire the affected old cached responses.
- Include lang only in the response headers policy and leave the cache key unchanged.
- Forward lang only with an origin request policy while leaving it out of the cache key.
Comments — 0
Sign in to comment