Skip to content

ResolutionResultCacheResolver#1646

Merged
dOrgJelli merged 6 commits into
origin-devfrom
nerfzael-resolution-result-cache-resolver
Apr 13, 2023
Merged

ResolutionResultCacheResolver#1646
dOrgJelli merged 6 commits into
origin-devfrom
nerfzael-resolution-result-cache-resolver

Conversation

@nerfZael
Copy link
Copy Markdown
Contributor

@nerfZael nerfZael commented Apr 3, 2023

Closes #1258 , #1237

This PR introduces a new cache resolver: ResolutionResultCacheResolver
Unlike the WrapperCacheResolver, which caches wrappers (URI => Wrapper), this resolver caches the result of the resolution process: URI, wrapper, package or error (URI => URI, URI => wrapper, URI => package, URI => error).
By default, it does not cache errors, but a flag can be passed to enable that functionality.

@nerfZael nerfZael marked this pull request as ready for review April 4, 2023 13:29
dOrgJelli
dOrgJelli previously approved these changes Apr 12, 2023
@dOrgJelli dOrgJelli merged commit 209885e into origin-dev Apr 13, 2023
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.

PackageToWrapperCacheResolver - Cache redirects

2 participants