如果 CloudFront 的 edge location 没有缓存内容,当用户请求该内容时会发生什么?
If in CloudFront the content is not present at an edge location, what will happen when a request is made for that content?
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: easy
分类: AWS CDN, 缓存机制
标签: CloudFront, edge, origin, cache miss
参考答案摘要
核心答案 当 edge location 没有内容(cache miss)时: CloudFront 会从 Origin Server 拉取内容并返回给用户。 同时会把该内容缓存到该 edge location。 后续请求将直接命中缓存,降低 origin 压力并提升访问速度。
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。