Skip to content
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

Take request.url into account in StrategyHandler.getCacheKey() #2973

Merged
merged 1 commit into from Nov 3, 2021

Conversation

jeffposnick
Copy link
Contributor

R: @tropicadri

Fixes #2972

Longer-term we might want to get rid of this in-memory cache entirely (since it's not entirely obvious that the cacheKeyWillBeUsed callback is only executed once), but for the time being, this seemed like the safest, backwards-compatible approach that fixed the issue.

@tropicadri tropicadri merged commit bbaac60 into v6 Nov 3, 2021
@jeffposnick jeffposnick deleted the cache-key-fix branch November 3, 2021 20:43
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.

StrategyHandler.getCacheKey() should take the request.url into account
2 participants