expressjs / expressjs/compression

Weaken outgoing ETags

Open
#45 1 comment 2 reactions 1 assignee Assigned to @bjohansebas View on GitHub
enhancement
Dominant language
JavaScript
Stars
2.8k
Forks
255
Avg merge
3d 15h
Merged PRs (30d)
3

Description

When the response is compressed, alter any ETag response header to make it a weak ETag.

This is the easiest solution to deal with ETags. It's also what nginx did semi-recently to solve this (before their patch, they always dropped the ETag header completely) in http://trac.nginx.org/nginx/changeset/e491b26fa5a1908eb22dd96d19b4d26e25eeca2c/nginx

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.