{"library":"cachecontrol","type":"library","category":null,"description":"CacheControl provides an HTTP caching layer for the popular `requests` library, mimicking the caching algorithms found in `httplib2`. It aims to make `requests` sessions thread-safe and efficient by persisting HTTP responses according to cache-control headers. The library is actively maintained, with frequent updates addressing Python version compatibility, bug fixes, and serialization improvements.","language":"python","status":"active","version":"0.14.4","tags":["http-caching","requests","cache","web-performance","session"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install cachecontrol","imports":["from cachecontrol import CacheControl","from cachecontrol.caches.file_cache import FileCache","from cachecontrol.adapter import CacheControlAdapter"]},{"cmd":"pip install cachecontrol[filecache]","imports":[]}],"homepage":"https://pypi.org/project/CacheControl/","github":"https://github.com/psf/cachecontrol","docs":null,"changelog":null,"pypi":"https://pypi.org/project/cachecontrol/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.3,"avg_import_s":0.61,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/cachecontrol/compatibility"}}