Skip to content
Snippets Groups Projects
Commit 4fde9f9f authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Add cache-control to avatar headers

parent f61557e2
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@ Meteor.startup ->
if not file?
res.setHeader 'content-type', 'image/svg+xml'
res.setHeader 'cache-control', 'public'
res.setHeader 'Last-Modified', "Thu, 01 Jan 2015 00:00:00 GMT"
reqModifiedHeader = req.headers["if-modified-since"];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment