无法使AWS CloudFront中的数据无效

时间:2019-03-19 11:25:56

标签: amazon-web-services amazon-cloudfront

我正在使AWS CloudFront中的数据无效,但是更改未反映在网站上。谁能告诉我可能是什么问题? 就像我想使/dir/abc.html

无效

使用此命令,其不起作用无法获取更新在网站上:

aws cloudfront create-invalidation --distribution-id dfhdhdufhjgh --paths dir/abc.html

它不会失效。

但是,此操作有效,并且能够在网站上获取更新

aws cloudfront create-invalidation --distribution-id dfhdhdufhjgh --paths /dir/

我想知道它们之间的区别。

参考:https://forums.aws.amazon.com/message.jspa?messageID=804846

0 个答案:

没有答案