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

💡 Custom cache strategy #831

Open
ryanwilsonperkin opened this issue Nov 11, 2024 · 2 comments
Open

💡 Custom cache strategy #831

ryanwilsonperkin opened this issue Nov 11, 2024 · 2 comments
Labels
feature request Feature request

Comments

@ryanwilsonperkin
Copy link
Contributor

Suggest an idea for this project

Wondering if it would be possible to support alternative cache strategies such as content-hash based, or an escape hatch to define a cache strategy in the config file.

Primary use case is for CI environments where modified time isn't a reliable indicator because the repository contents have all been cloned at the same time

@ryanwilsonperkin ryanwilsonperkin added the feature request Feature request label Nov 11, 2024
@aminpaks
Copy link

We're open to contribute to implement a content base cache strategy.

@webpro
Copy link
Collaborator

webpro commented Nov 11, 2024

@ryanwilsonperkin Thanks for bringing this up. Embarrassingly, only now I see that the code didn't contain the credits towards file-entry-cache. So that's fixed.

Contributions are very welcome!

I remember the inspiration did contain logic for what's being requested here, so that might be of help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests

3 participants