Amazon CloudFront Cache Invalidation
By default, the expiration time of files in the edge locations is 1 day. In order to reduce that, the "Cache Control" header can be used. In the case where the content origin is S3, the "Cache Control" header is set via the Metadata section, where the key is "Cache-Control" and the content is something like "public,max-age=600" where max-age is the expiration time in seconds.
No comments:
Post a Comment