Skip to content
Browse files

Change cache control to support use in manifest

  • Loading branch information...
1 parent e83df42 commit 2c89a5a3f029e61464e8957b14b69bde40256a17 @lukegalea committed Mar 23, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/assetmanager.js
View
3 lib/assetmanager.js
@@ -387,8 +387,7 @@ module.exports = function assetManager (assets) {
'Content-Length': response.contentLength,
'Last-Modified': response.modified,
'Date': (new Date).toUTCString(),
- 'Cache-Control': 'public max-age=' + 31536000,
- 'Expires': response.expires || (new Date(new Date().getTime()+63113852000)).toUTCString()
+ 'Cache-Control': 'public, max-age=0'
};
if(response.encoding) {

0 comments on commit 2c89a5a

Please sign in to comment.
Something went wrong with that request. Please try again.