Add Vary header
Open
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
When serving compressed content, `send` should set `Vary: Accept-Encoding` automatically to ensure that CDNs cache according to the client's encoding.
Contributor guide
Research direction
Start at the send entry point and trace the path used when serving compressed content. Confirm the response includes Vary: Accept-Encoding so caches distinguish client encodings; add or update coverage if the existing test suite exposes this behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100