Skip to content
Snippets Groups Projects
Unverified Commit d7808a2d authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Extend `ResponseCache` to pass a context object into the callback (#10157)

This is the first of two PRs which seek to address #8518. This first PR lays the groundwork by extending ResponseCache; a second PR (#10158) will update the SyncHandler to actually use it, and fix the bug.

The idea here is that we allow the callback given to ResponseCache.wrap to decide whether its result should be cached or not. We do that by (optionally) passing a ResponseCacheContext into it, which it can modify.
parent 13577aa5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment