git ssb

0+

Daan Patchwork / ssb-viewer



forked from cel / ssb-viewer

Commit df2a2ada6eb755c0b52aad076d8abdcf12c14ad5

Set cache-control immutable

cel committed on 10/3/2019, 12:50:20 PM
Parent: ca9ab26ec6f4f060a9ef89bec77537aa46a99707

Files changed

index.jschanged
index.jsView
@@ -488,9 +488,9 @@
488488 if (unboxKey.length !== 32) return respond(res, 400, 'Bad blob key')
489489 }
490490
491491 res.writeHead(200, {
492- 'Cache-Control': 'public, max-age=315360000',
492+ 'Cache-Control': 'public, max-age=315360000, immutable',
493493 'etag': etag
494494 })
495495
496496 pull(

Built with git-ssb-web