Does Amazon CloudFront check if origin (specifically S3 bucket) has changed via MD5/ETag/Other before retransferring expired objects across regions? -


i know if there cost incurred "refetching" expired cloudfront object s3 bucket if resource object has not changed. ie. object retransferred in entirety each edge location, or things md5-content headers or modified times checked first before retransferring?

i'm trying calculate costs incurred , can't find information on via google or through amazons documentation.

i set cache-control headers short time possible (say few hours) objects can removed/replaced reasonably in places filename versioning not possible, without using invalidation requests.

if objects indeed retransferred in full, hundreds of objects solution expensive acceptable.

on other hand, there may better solution without needing set low value in cache-control header. if please share.

thanks!

once object "expired", removed cloudfront edge location. there's therefore no way md5 or modify time check there no file compare against.

if file has not expired, not check against origin server.

ie - 1. file is on edge location - origin server not checked 2. file expires - therefore not on edge location - origin server fetches it.

a short expiration time lead files being removed origin, therefore requiring complete refetch.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -