Make template caching strong

Fixes #325
This commit is contained in:
Matthew Taylor 2016-01-14 15:54:10 -05:00
parent dddc867c1e
commit a53aa67d21

View file

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