mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Merge pull request #327 from mewtaylor/issue/gh-325-caching
Fix GH-325: Make template caching strong
This commit is contained in:
commit
49f6f734ba
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue