Skip to content

Commit

Permalink
Fix 404 links related to cacheable-request (#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
xc2 authored Sep 27, 2024
1 parent 89b7fdf commit 9ab4cf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion documentation/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Cache

Got implements [RFC 7234](https://httpwg.org/specs/rfc7234.html) compliant HTTP caching which works out of the box in-memory and is easily pluggable with a wide range of storage adapters. Fresh cache entries are served directly from the cache, and stale cache entries are revalidated with `If-None-Match` / `If-Modified-Since` headers. You can read more about the underlying cache behavior in the [`cacheable-request` documentation](https://github.com/lukechilds/cacheable-request).
Got implements [RFC 7234](https://httpwg.org/specs/rfc7234.html) compliant HTTP caching which works out of the box in-memory and is easily pluggable with a wide range of storage adapters. Fresh cache entries are served directly from the cache, and stale cache entries are revalidated with `If-None-Match` / `If-Modified-Since` headers. You can read more about the underlying cache behavior in the [`cacheable-request` documentation](https://www.npmjs.com/package/cacheable-request).

You can use the JavaScript `Map` type as an in-memory cache:

Expand Down
2 changes: 1 addition & 1 deletion source/core/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export type PlainResponse = {
/**
The remote IP address.
This is hopefully a temporary limitation, see [lukechilds/cacheable-request#86](https://github.com/lukechilds/cacheable-request/issues/86).
This is hopefully a temporary limitation, see [lukechilds/cacheable-request#86](https://web.archive.org/web/20220804165050/https://github.com/jaredwray/cacheable-request/issues/86).
__Note__: Not available when the response is cached.
*/
Expand Down

0 comments on commit 9ab4cf9

Please sign in to comment.