Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
feat: set cacheControl header defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalsadhu committed Jun 20, 2018
1 parent ab09942 commit 0bc8bb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sink.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ module.exports = class SinkGCS extends EventEmitter {

const metadata = {
contentType,
cacheControl: 'public, max-age=365000000, immutable',
...meta,
};
const rest = { ...options };
Expand Down

0 comments on commit 0bc8bb1

Please sign in to comment.