Skip to content

Commit

Permalink
Merge pull request #1601 from jjlharrison/patch-1
Browse files Browse the repository at this point in the history
Update link to GitHub conditional requests doc
  • Loading branch information
bitwiseman committed Jan 25, 2023
2 parents a222b97 + 61c1e43 commit 05c92fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/site/apt/index.apt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Pluggable HTTP client
through <<<HttpConnector>>>. In particular, this means you can use {{{https://square.github.io/okhttp/}OkHttp}},
so we can make use of it's HTTP response cache.
Making a conditional request against the GitHub API and receiving a 304 response
{{{https://developer.github.com/v3/#conditional-requests}does not count against the rate limit}}.
{{{https://docs.github.com/en/rest/overview/resources-in-the-rest-api#conditional-requests}does not count against the rate limit}}.

The following code shows an example of how to set up persistent cache on the disk:

Expand Down

0 comments on commit 05c92fd

Please sign in to comment.