Skip to content

Commit

Permalink
gateway: expand HTTP caching considerations
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jun 23, 2022
1 parent e3637e5 commit 2c731d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions http-gateways/PATH_GATEWAY.md
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,11 @@ the DAG it represents does not include content path remainder.
- Advanced caching strategies can be built using additional information in
`X-Ipfs-Path` and `X-Ipfs-Roots` headers.

- Implement support for requests sent with
[`Cache-Control: only-if-cached`](#cache-control-request-header).
It allows IPFS-aware HTTP clients to probe and prioritize gateways that
already have the data cached, significantly improving retrieval speeds.

## Denylists

Optional, but encouraged.
Expand Down

0 comments on commit 2c731d3

Please sign in to comment.