You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An HTTP transport for Go standard library's HTTP Client that caches HTTP Responses in a local SQLite database to speed up subsequent requests.
6
+
An HTTP transport for Go standard library's HTTP Client that caches HTTP Responses in a database to speed up subsequent requests. Currently supported:
7
+
1.`sqlite`
8
+
2.`postgres` (coming soon)
7
9
8
10
## Motivation
9
11
10
-
I was working on an internal tool at work that needed to run an expensive query over HTTP multiple times. Since the HTTP response didn't change between runs, I wrote `httpcache` to cap the maximum latency of making multiple HTTP requests to the latency of the initial cold request.
12
+
I was working on an unrelated tool that ran expensive queries over HTTP multiple times. Since the HTTP response didn't change between runs, I wrote `httpcache` to cap the maximum latency of making multiple HTTP requests to the latency of the initial cold request.
0 commit comments