Skip to content

feat(loki): allow disabling cache for query_range requests - #21112

Merged
ivkalita merged 1 commit into
mainfrom
ivkalita/query-range-disable-caching
Mar 9, 2026
Merged

feat(loki): allow disabling cache for query_range requests#21112
ivkalita merged 1 commit into
mainfrom
ivkalita/query-range-disable-caching

Conversation

@ivkalita

@ivkalita ivkalita commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Allows disabling results cache via Cache-Control headers for query_range requests (the same way it's done for instant queries).

@ivkalita
ivkalita requested a review from a team as a code owner March 9, 2026 12:51

@ashwanthgoli ashwanthgoli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@rfratto rfratto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, but maybe it's time for all of the operation types to recognize the header rather than just query and query_range?

@ivkalita
ivkalita merged commit 1242aa5 into main Mar 9, 2026
88 checks passed
@ivkalita
ivkalita deleted the ivkalita/query-range-disable-caching branch March 9, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants