Skip to content

Conversation

@jensneuse
Copy link
Member

No description provided.

@github-actions github-actions bot added the router label Sep 9, 2024
Copy link
Contributor

@StarpTech StarpTech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick feedback on the existing functionality: The cache header implementation needs an extensive testsuite. I suggest to split header propagation and cache header handling in two distinct core modules and different configuration. This would improve maintainability and increase awareness of the features. Caching is a complex topic and I expect more customizability in the future here (minTTL, default etc...). A dedicated config section would be great here and allow us to add more in the future.

http_cache:
  enabled: true
  defaultTTL: 30m
  minTTL: 5m

@jensneuse jensneuse marked this pull request as draft September 10, 2024 08:15
@hganganna
Copy link

hganganna commented Sep 12, 2024

@jensneuse We have the requirement to propagate response header at RCCL ( Royal Caribbean ). We really appreciate the fix coming in. Please let me know timeline on this, so that we can plan accordingly.

@df-wg df-wg force-pushed the jens/eng-5420-support-cache-control-headers-from-subgraph-responses branch 3 times, most recently from 5a41636 to 7ad9645 Compare September 16, 2024 15:42
@df-wg df-wg marked this pull request as ready for review September 16, 2024 15:42
@df-wg df-wg force-pushed the jens/eng-5420-support-cache-control-headers-from-subgraph-responses branch from 7ad9645 to a847111 Compare September 18, 2024 12:21
@jensneuse jensneuse merged commit 67f7545 into main Sep 18, 2024
@jensneuse jensneuse deleted the jens/eng-5420-support-cache-control-headers-from-subgraph-responses branch September 18, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants