Rather than making CloudFront responsible for cache time, we can use cache control headers from s3. Amazon's documentation [1] says to prefer the max-age header, so here we'll have travis set up s3 to send a 1 minute max-age header for all the files we push.
Rather than making CloudFront responsible for cache time, we can use cache control headers from s3. Amazon's documentation [1] says to prefer the max-age header, so here we'll have travis set up s3 to send a 1 minute max-age header for all the files we push.
[1]http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html