shuson
0.21D

AWS 上的 CloudFront 怎么保持和 S3 Origin 同步

  •  
  •   shuson · Apr 14, 2015 · 4295 views
    This topic created in 4242 days ago, the information mentioned may be changed or developed.

    问题:s3上更新之后,cloudfront instance很久不能同步更新
    已经尝试解决方法:使用aws推荐的invalidation,发现依然不能及时同步,而且invalidation还需要手动添加record

    求过来人指点

    4 replies  •  2015-04-14 19:36:09 +08:00
    HowardMei
    HowardMei
    Apr 14, 2015
    1
    访问一遍啊,后面加上?visit=randomstr不就好了
    shuson
    shuson
    OP
    Apr 14, 2015
    2
    @HowardMei 另外aws docu有讲说用 带着version的文件,可是我只更新了index.html这个文件,名字是固定的。

    所以你说的加上query str,是指加到cloudfront instance的url后面么
    shuson
    shuson
    OP
    Apr 14, 2015
    3
    @HowardMei 今天遇到好多坡县的。幸会
    akira
    akira
    Apr 14, 2015
    4
    1楼的意思应该是, 例如自己浏览器直接访问 http://www.xxx.com/index.html?a=1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2973 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 00:48 · PVG 08:48 · LAX 16:48 · JFK 19:48
    ♥ Do have faith in what you're doing.