Permalink
Browse files

add a max-age of a year to s3 bundles

  • Loading branch information...
1 parent 6136752 commit 993544e96aedc6d9df357577fc2718695a9115c0 Paul Baumgart committed Jan 13, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/jsbundle-s3.js
View
@@ -96,6 +96,7 @@ function _s3upload(data, s3Config) {
Acl: 'public-read',
ContentType: 'application/javascript',
ContentEncoding: 'gzip',
+ CacheControl: 'max-age=31536000',
ContentLength: data.length,
Body: data
};

0 comments on commit 993544e

Please sign in to comment.