-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Update "Caching" section in User Guide #8009
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
Labels
C: cache
Dealing with cache and files in it
good first issue
A good item for first time contributors to work on
type: docs
Documentation related
Comments
Can I work on the issue? What I can understand is that we need to mention that |
@gutsytechster are you still interest on working on this issue? If not, I can work on it. :) |
@eamanu you can go ahead with the issue. :) |
@gutsytechster thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
C: cache
Dealing with cache and files in it
good first issue
A good item for first time contributors to work on
type: docs
Documentation related
Environment
Description
The "caching" section in the documentation is no longer accurate (and misleading). It states:
"When storing items in the cache, pip will respect the CacheControl header if it exists, or it will fall back to the Expires header if that exists. This allows pip to function as a browser would, and allows the index server to communicate to pip how long it is reasonable to cache any particular item."
However, max-age is hardcoded controller.py, and any such headers from the server are ignored:
Expected behavior
The documentation should state the actual behavior.
How to Reproduce
N/A
Output
N/A
The text was updated successfully, but these errors were encountered: