If-none-match header is not supported when we pass all the cookies even though caching policy says to not include any cookie in cache ke

0

As per the documentation https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html

If-Modified-Since and If-None-Match conditional requests are not supported when CloudFront is configured to forward cookies (all or a subset).

Why such restriction is in place when I explicitly attached a caching policy to the distribution which says do not include any cookie in the cache key? I want all the cookies to be forwarded to the origin but only include specific cookie value in cache key. Also I want if-none-match to work as I would like to use Etag based functionality for cache invalidation.

已提问 6 个月前81 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容