Permalink
Browse files

add expires header and make cache-control public

  • Loading branch information...
1 parent 54e1d6b commit ae6fa3e2c884836f7e81d915d13c5ba5923db77d Paul Baumgart committed Jan 13, 2013
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/jsbundle-s3.js
  2. +1 −1 package.json
View
@@ -96,7 +96,8 @@ function _s3upload(data, s3Config) {
Acl: 'public-read',
ContentType: 'application/javascript',
ContentEncoding: 'gzip',
- CacheControl: 'max-age=31536000',
+ CacheControl: 'public, max-age=2147483648',
+ Expires: 'Sun, 17 Jan 2038 19:14:07 GMT',
Body: data,
ContentLength: data.length
};
View
@@ -3,7 +3,7 @@
"name": "jsbundle",
"description": "Simple, clean, and automatic bundling of your Node modules and packages for use in the browser.",
"keywords": "browser require bundle module package static-analysis",
- "version": "0.16.7",
+ "version": "0.16.8",
"repository": {
"type": "git",
"url": "git://github.com/proxv/jsbundle.git"

0 comments on commit ae6fa3e

Please sign in to comment.