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

Add prefetch filter to cache downloads with a max age #101

Open
mvdbos opened this issue Feb 22, 2024 · 0 comments
Open

Add prefetch filter to cache downloads with a max age #101

mvdbos opened this issue Feb 22, 2024 · 0 comments
Assignees

Comments

@mvdbos
Copy link
Owner

mvdbos commented Feb 22, 2024

With this prefetch filter in place, skip fetching resources that are already downloaded and younger than max age. This requires that downloads are not segmented per spider id. A simple option is to set the same spider id for runs where you want to use the cache.

@mvdbos mvdbos self-assigned this Feb 22, 2024
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