Skip to content

response_cache: returns the right cache control in response header#7956

Merged
bnjjj merged 2 commits intodevfrom
bnjjj/fix_response_cache_control
Jul 23, 2025
Merged

response_cache: returns the right cache control in response header#7956
bnjjj merged 2 commits intodevfrom
bnjjj/fix_response_cache_control

Conversation

@bnjjj
Copy link
Contributor

@bnjjj bnjjj commented Jul 23, 2025

Before this fix, when having both public and private data in the same query it was returning public in cache-control header instead of private.


Checklist

Complete the checklist (and note appropriate exceptions) before the PR is marked ready-for-review.

  • PR description explains the motivation for the change and relevant context for reviewing
  • PR description links appropriate GitHub/Jira tickets (creating when necessary)
  • Changeset is included for user-facing changes
  • Changes are compatible1
  • Documentation2 completed
  • Performance impact assessed and acceptable
  • Metrics and logs are added3 and documented
  • Tests added and passing4
    • Unit tests
    • Integration tests
    • Manual tests, as necessary

Exceptions

Note any exceptions here

Notes

Footnotes

  1. It may be appropriate to bring upcoming changes to the attention of other (impacted) groups. Please endeavour to do this before seeking PR approval. The mechanism for doing this will vary considerably, so use your judgement as to how and when to do this.

  2. Configuration is an important part of many changes. Where applicable please try to document configuration examples.

  3. A lot of (if not most) features benefit from built-in observability and debug-level logs. Please read this guidance on metrics best-practices.

  4. Tick whichever testing boxes are applicable. If you are adding Manual Tests, please document the manual testing (extensively) in the Exceptions.

Signed-off-by: Benjamin <5719034+bnjjj@users.noreply.github.com>
@bnjjj bnjjj requested a review from a team July 23, 2025 09:59
@apollo-librarian
Copy link
Contributor

apollo-librarian bot commented Jul 23, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 438f37c8a04de387cb7e5c9d

@bnjjj bnjjj requested review from SimonSapin and carodewig July 23, 2025 09:59
@github-actions
Copy link
Contributor

@bnjjj, please consider creating a changeset entry in /.changesets/. These instructions describe the process and tooling.

Signed-off-by: Benjamin <5719034+bnjjj@users.noreply.github.com>
@bnjjj bnjjj enabled auto-merge (squash) July 23, 2025 14:28
@bnjjj bnjjj merged commit 9e22d88 into dev Jul 23, 2025
15 checks passed
@bnjjj bnjjj deleted the bnjjj/fix_response_cache_control branch July 23, 2025 14:47
SimonSapin added a commit that referenced this pull request Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants