Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
49f6f734
Commit
49f6f734
authored
Jan 14, 2016
by
Matthew Taylor
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #327 from mewtaylor/issue/gh-325-caching
Fix GH-325: Make template caching strong
parents
dddc867c
a53aa67d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/handler.js
server/handler.js
+1
-1
No files found.
server/handler.js
View file @
49f6f734
...
...
@@ -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
);
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment