]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Hishel as an alternative for "cachecontrol" and "requests-cache". (#2866)
authorKar Petrosyan <92274156+karosis88@users.noreply.github.com>
Thu, 28 Sep 2023 16:30:49 +0000 (12:30 -0400)
committerGitHub <noreply@github.com>
Thu, 28 Sep 2023 16:30:49 +0000 (12:30 -0400)
* Add Caching section in compatibility

* typo

docs/compatibility.md

index b2092477e84747217e3e94d420bd0721ffcf6f0f..3e8bf9b9653fd439ef5248474e23b2fae2ff4c69 100644 (file)
@@ -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/).