{"action":"opened","issue":{"url":"https://api.github.com/repos/badunk/multer-s3/issues/36","repository_url":"https://api.github.com/repos/badunk/multer-s3","labels_url":"https://api.github.com/repos/badunk/multer-s3/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/badunk/multer-s3/issues/36/comments","events_url":"https://api.github.com/repos/badunk/multer-s3/issues/36/events","html_url":"https://github.com/badunk/multer-s3/issues/36","id":154517188,"number":36,"title":"Can't set Cache-Control header","user":{"login":"lukechilds","id":2123375,"avatar_url":"https://avatars.githubusercontent.com/u/2123375?v=3","gravatar_id":"","url":"https://api.github.com/users/lukechilds","html_url":"https://github.com/lukechilds","followers_url":"https://api.github.com/users/lukechilds/followers","following_url":"https://api.github.com/users/lukechilds/following{/other_user}","gists_url":"https://api.github.com/users/lukechilds/gists{/gist_id}","starred_url":"https://api.github.com/users/lukechilds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukechilds/subscriptions","organizations_url":"https://api.github.com/users/lukechilds/orgs","repos_url":"https://api.github.com/users/lukechilds/repos","events_url":"https://api.github.com/users/lukechilds/events{/privacy}","received_events_url":"https://api.github.com/users/lukechilds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-12T15:49:51Z","updated_at":"2016-05-12T15:49:51Z","closed_at":null,"body":"As far as I can tell there is no way to set a `Cache-Control` header from the `MulterS3` parameters. I really really don't wanna make a separate request to S3 just to update this setting 😆 \r\n\r\nShould be pretty easy to bake this into `MulterS3`, would you accept a PR for this?\r\n\r\nI'm thinking an optional parameter, something like this:\r\n\r\n```javascript\r\nvar upload = multer({\r\n  storage: multerS3({\r\n    s3: s3,\r\n    bucket: 'some-bucket',\r\n    cacheControl: 'max-age=31536000',\r\n    acl: 'public-read',\r\n    key: function (req, file, cb) {\r\n      cb(null, Date.now().toString())\r\n    }\r\n  })\r\n});\r\n```"}}