我正在使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