[英]Additional Device type columns like CloudFront-Is-Mobile-Viewer in aws cloudfront
[英]cloudfront cache with CloudFront-Is-Mobile-Viewer header
我是Cloudfront的新手,并试图有效地维护和访问Cloudfront缓存。
如果我将CloudFront-Is-Mobile-Viewer标头列入白名单,Cloudfront是否将开始基于每个用户代理维护缓存?
还是仅保留请求是否来自移动设备?
谢谢,Manish
Cloudfront不会维护每个User-Agent的缓存。
实际上,Cloudfront不鼓励将标头添加到白名单,因为标头可以具有很多可能的值,因为它会增加CDN上缓存的副本的数量,并且还会增加发送到源的请求的数量。
它将仅基于Cloudfront-Is-Mobile-Viewer
标头缓存从原始服务器发送的响应。 因此,对于Cloudfront-Is-Mobile-Viewer
标头检测到的所有移动设备,相同的缓存内容将交付给最终用户。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.