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

Default cache for unchanged input trees. #1

Open
rwjblue opened this issue Apr 26, 2014 · 0 comments
Open

Default cache for unchanged input trees. #1

rwjblue opened this issue Apr 26, 2014 · 0 comments

Comments

@rwjblue
Copy link
Member

rwjblue commented Apr 26, 2014

I have created a caching writer implementation over at rjackson/broccoli-caching-writer. It is very simple, and just compares the hash of the input tree to the last known hash, and if different calls the updateCache method. This clearly isn't the absolute best possible scenario, but it is better than no caching at all, and may be the only generic solution that we can come up with.

I would love to update this repo to use the same technique (since I see no downsides). Would you accept a PR for this?

@rwjblue rwjblue changed the title Default cache for unchanged trees. Default cache for unchanged input trees. Apr 26, 2014
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

No branches or pull requests

1 participant