Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enable http caching and offline runs #14

Merged
merged 1 commit into from
Apr 5, 2021
Merged

Enable http caching and offline runs #14

merged 1 commit into from
Apr 5, 2021

Conversation

dcaribou
Copy link
Owner

@dcaribou dcaribou commented Apr 5, 2021

It enables http local caching by default. Http requests and responses are saved at .scrapy/httpcache. After that, subsequent runs hit the cache instead of the remote server.

Use HttpCacheMiddleware settings to toggle cache support on an off

Closes #13

@dcaribou dcaribou merged commit b389cb5 into main Apr 5, 2021
@dcaribou dcaribou deleted the enable-cache-runs branch April 5, 2021 14:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support site caching and crawl from cache
2 participants