- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
Amazon CloudFront documentation没有提及“CallerReference”的用途或应填写的内容,我在其他站点上看到的示例使用的是GUID或当前日期。
AWS SDK for .NET工具提示说这是为了防止重放攻击,但这就是date header 的作用。
最佳答案
Amazon CloudFront Documentation(同时?!)指出CallerReference是一个唯一名称,可确保确实不会重播该请求,有关详细信息,请参阅InvalidationBatch Complex Type:
If the CallerReference is a value you already sent in a previous invalidation batch request, and if the content of each Path element is identical to the original request, the response includes the same information returned to the original request.
If the CallerReference is a value you already sent in a previous invalidation batch request but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.
CallerReference is a unique value that you provide and that CloudFront uses to prevent replays of your request. You must provide a new caller reference value and other new information in the request for CloudFront to create a new invalidation request. You could use a time stamp for the caller reference (such as 20100801090000).
关于amazon-web-services - 将无效请求发布到Amazon CloudFront时,CallerReference是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6514983/
我是一名优秀的程序员,十分优秀!