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
1.2.1 only-if-cached HEAD behavior
HTTP client can send HEAD request with Cache-Control: only-if-cached to disable IPFS data transfer and inexpensively probe if the gateway has the data cached.
Implementation MUST ensure that handling only-if-cached HEAD response is fast and does not generate any additional I/O such as IPFS data transfer. This allows light clients to probe and prioritize gateways which already have the data.
The text was updated successfully, but these errors were encountered:
Background
When testing providers coming from the IPNI, it's useful to be able to check if they have a block without requesting the bytes.
In the IPFS HTTP Gateway Spec this is specified as follows:
The text was updated successfully, but these errors were encountered: