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

Config file changes should minimally bust the cache #61

Open
ds300 opened this issue Apr 19, 2023 · 0 comments
Open

Config file changes should minimally bust the cache #61

ds300 opened this issue Apr 19, 2023 · 0 comments

Comments

@ds300
Copy link
Owner

ds300 commented Apr 19, 2023

We can hash individual parts of the lazy config file when computing the manifest for a task (in computeManifest.js). Rather than busting the whole cache for every change we can be more targeted and only bust the parts that matter. I think we can get away with just hashing the baseCacheConfig and the current task's script config, but part of this ticket is to think deeply about that.

In addition we should also always include a hash of the "scripts" entry string in the manifest, regardless of where it comes from.

@ds300 ds300 converted this from a draft issue Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant