LINK: Cache-Control Header for Amazon S3
Cache-Control Header for Amazon S3
Amazon provides an option for specifying the Cache-Control header, but we use the AWS::S3 gem and the attachment_fu plugin for uploading our files to S3. The gem and plugin don’t provide a convenient way to set the Cache-Control header. My solution is to enhance the behavior of the store() method within the AWS::S3 gem so that it always specifies a Cache-Control header of 10 years if another value is not specified.
Comments (No comments)
There are no comments for this post so far.
Post a comment