Commit df2a2ada6eb755c0b52aad076d8abdcf12c14ad5
Set cache-control immutable
cel committed on 10/3/2019, 12:50:20 PMParent: ca9ab26ec6f4f060a9ef89bec77537aa46a99707
Files changed
index.js | changed |
index.js | |||
---|---|---|---|
@@ -488,9 +488,9 @@ | |||
488 | 488 … | if (unboxKey.length !== 32) return respond(res, 400, 'Bad blob key') | |
489 | 489 … | } | |
490 | 490 … | ||
491 | 491 … | res.writeHead(200, { | |
492 | - 'Cache-Control': 'public, max-age=315360000', | ||
492 … | + 'Cache-Control': 'public, max-age=315360000, immutable', | ||
493 | 493 … | 'etag': etag | |
494 | 494 … | }) | |
495 | 495 … | ||
496 | 496 … | pull( |
Built with git-ssb-web