Skip to content

Keep a different Vary variant when a response is no-store - #479

Closed
Cherith1222 wants to merge 1 commit into
psf:masterfrom
Cherith1222:fix/173-no-store-vary
Closed

Cherith1222 wants to merge 1 commit into
psf:masterfrom
Cherith1222:fix/173-no-store-vary

Conversation

@Cherith1222

Copy link
Copy Markdown

A Cache-Control: no-store response deleted the cache entry for that URL even when the stored response was a different Vary variant. The new response is still not stored. The matching variant is still removed.

Fixes #173.

Cherith reviewed this diff and confirmed it with the person who helped draft it.
Drafted with Cursor. Model: Grok 4.7.

no-store was deleting the only entry for that URL, even when the stored response belonged to a different variant.

AI-assisted (Cursor)
@woodruffw woodruffw closed this Oct 13, 2026
@psf psf locked as spam and limited conversation to collaborators Oct 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cached records are cleared without regard to Vary header

2 participants