Update Caching documentation

Any headers from serve are ignored. So, this PR remove
the paragraph that mention that. See #8009 and #5670

Close #8009
This commit is contained in:
Emmanuel Arias 2020-08-18 17:14:23 -03:00
parent 8d549f2cf8
commit 65bddac52f
No known key found for this signature in database
GPG Key ID: FA9DEC5DE11C63F1
1 changed files with 0 additions and 5 deletions

View File

@ -550,11 +550,6 @@ response telling pip to simply use the cached item (and refresh the expiration
timer) or it will return a whole new response which pip can then store in the
cache.
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.
While this cache attempts to minimize network activity, it does not prevent
network access altogether. If you want a local install solution that
circumvents accessing PyPI, see :ref:`Installing from local packages`.