Skip to content

Remove PRAGMA HTTP header from cache #3489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

abelsromero
Copy link
Contributor

@abelsromero abelsromero commented Aug 2, 2024

This header is deprecated and is unnecessary when using 'Cache-Control'. Currently SCG always returns 'Cache-Control' already.

The implementation adds RemoveHeadersAfterCacheExchangeMutator which helps remove headers that conflict with Cache features and are not necessary.
This has been implemented also thinking about the other expire header. Simply adding expire to the same "Mutator" will suffice.

Closes #3487

This header is deprecated and is unnecessary when using 'Cache-Control'.
Currently SCG always returns 'Cache-Control' already.
@spencergibb
Copy link
Member

Cherry-picked to 4.1.x and merged to main via 1233357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

Remove Pragma header in ResponseCacheGatewayFilter
3 participants