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

Improved caching #80

Open
aeirola opened this issue Apr 4, 2022 · 0 comments
Open

Improved caching #80

aeirola opened this issue Apr 4, 2022 · 0 comments
Assignees
Milestone

Comments

@aeirola
Copy link
Owner

aeirola commented Apr 4, 2022

Currently the caching logic relies on file timestamps, which doesn't work well if the input file is changed to one with an older timestamp. This can happen with source control or configuration changes. See #63

Would make sense to use a hash based cache control mechanism. This could include a mapping from input file hashes to output file hashes. The cache data could be stored somewhere similarly where react native stores its data, which seems to be under $TMPDIR/react-native.

@aeirola aeirola self-assigned this Apr 4, 2022
@aeirola aeirola added this to the 1.0.0 milestone Apr 9, 2022
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