Cloudfront缓存变更:

0

【以下的问题经过翻译处理】 有人能告诉我在CloudFront中缓存的最佳做法吗?为什么在DynamoDB表中的变异没有反映?我已将缓存行为设置为最大TTL:3秒,最小TTL:0秒。当我在3秒后刷新CloudFront URL时,它会显示变异结果。但在第二次3秒后刷新时,它会显示旧结果。

1 Answer
0

【以下的回答经过翻译处理】 你在DynamoDB中使用强一致性读取而不是最终一致性读取吗?如果不是,那么在变更之后,读取的一系列操作可能会返回旧值和新值的混合,直到实现完全一致性。

profile picture
EXPERT
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions