Skip to content
Permalink
Browse files

Adjust cache

  • Loading branch information...
jxnblk committed Nov 4, 2019
1 parent 3443c41 commit 534eed533d7226971096ec3088124fc99ccf2d3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/index.js
@@ -82,6 +82,6 @@ module.exports = (req, res) => {
if (!svg.length) return 'No icon found for ' + name

res.setHeader('Content-Type', 'image/svg+xml')
res.setHeader('Cache-Control', 'public, max-age=86400')
res.setHeader('Cache-Control', 'max-age=0, s-maxage=604800')
res.end(doctype + svg)
}

0 comments on commit 534eed5

Please sign in to comment.
You can’t perform that action at this time.