Merge pull request #327 from mewtaylor/issue/gh-325-caching

Fix GH-325: Make template caching strong
This commit is contained in:
Matthew Taylor 2016-01-14 22:24:52 -05:00
commit 49f6f734ba

View file

@ -23,7 +23,7 @@ function Handler (route) {
res.set({
'Content-Type': 'text/html',
'Cache-Control': 'public, max-age=31536000',
'Etag': 'W/"' + checksum + '"'
'Etag': '"' + checksum + '"'
});
res.send(output);
};