From 65bddac52f99afd2c1f4c0964394f7c91b88756f Mon Sep 17 00:00:00 2001 From: Emmanuel Arias Date: Tue, 18 Aug 2020 17:14:23 -0300 Subject: [PATCH] Update Caching documentation Any headers from serve are ignored. So, this PR remove the paragraph that mention that. See #8009 and #5670 Close #8009 --- docs/html/reference/pip_install.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/html/reference/pip_install.rst b/docs/html/reference/pip_install.rst index 7be7bcd25..fd962cd36 100644 --- a/docs/html/reference/pip_install.rst +++ b/docs/html/reference/pip_install.rst @@ -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`.