-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cache parse_links() by --find-links html page content #5
Cache parse_links() by --find-links html page content #5
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, so you're not trying to cache between runs, just within a single run.
Would there be even more benefit in the future to caching between runs?
EDITED THIS COMMENT A LOT!! See maybe-related convo over at the pip PR in pypa#7729 (comment). pypa#5670 is working against us a little here, because we don't want to have caching that avoids reading in updates from publishing. I'm actually not sure if I can see an obvious form of caching between runs that improves on this PR without causing issues like pypa#5670. |
Hm, I think the above is correct, but also think a really relevant optimization would be to cache the html page fetching as well for |
...even locally (without going across the network to retrieve the |
Proposed the change in the upstream pip PR: pypa#7729 (comment). |
1d8f381
to
d0127a6
Compare
(we will be cherry-picking the resulting changes from pypa#7729, if they differ from this, after it is approved and merged!) |
Cherry-pick of pypa#7729! This change is intended to fix pex-tool/pex#887.