From: Kar Petrosyan <92274156+karosis88@users.noreply.github.com> Date: Thu, 28 Sep 2023 16:30:49 +0000 (-0400) Subject: Hishel as an alternative for "cachecontrol" and "requests-cache". (#2866) X-Git-Tag: 0.25.1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c684e9f3aae6a34271260dedb06f5b932a2867b9;p=thirdparty%2Fhttpx.git Hishel as an alternative for "cachecontrol" and "requests-cache". (#2866) * Add Caching section in compatibility * typo --- diff --git a/docs/compatibility.md b/docs/compatibility.md index b2092477..3e8bf9b9 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -201,6 +201,10 @@ Besides, `httpx.Request()` does not support the `auth`, `timeout`, `follow_redir If you need to mock HTTPX the same way that test utilities like `responses` and `requests-mock` does for `requests`, see [RESPX](https://github.com/lundberg/respx). +## Caching + +If you use `cachecontrol` or `requests-cache` to add HTTP Caching support to the `requests` library, you can use [Hishel](https://hishel.com) for HTTPX. + ## Networking layer `requests` defers most of its HTTP networking code to the excellent [`urllib3` library](https://urllib3.readthedocs.io/en/latest/).