Skip to content

Commit

Permalink
Merge pull request #62 from Turistforeningen/etag
Browse files Browse the repository at this point in the history
feat(cache): use strong ETag validators
  • Loading branch information
Håvard Ranum authored Oct 4, 2016
2 parents 5ecb26e + 9391e99 commit 6f10855
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const router = new express.Router();

app.set('json spaces', 2);
app.set('x-powered-by', false);
app.set('etag', 'strong');

router.use(compression());
router.use(responseTime());
Expand Down

0 comments on commit 6f10855

Please sign in to comment.