Automattic / Automattic/wp-super-cache
Why plugin set header Vary: Accept-Encoding even if gzip is off
Open
[Plugin] Super Cache
enhancement
- Dominant language
- PHP
- Stars
- 436
- Forks
- 130
- Avg merge
- 15h 11m
- Merged PRs (30d)
- 10
Description
Why plugin set header `Vary: Accept-Encoding` even if gzip is off?
https://github.com/Automattic/wp-super-cache/blob/master/wp-cache-phase2.php#L158
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at wp-cache-phase2.php line 158 and trace the conditions that add the Vary: Accept-Encoding header. Compare that behavior with the gzip setting and the surrounding cache-response logic; done means determining whether the header is intentional when gzip is disabled and updating the behavior or its explanation accordingly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100