Skip to content

Commit

Permalink
gateway: use regular cache-control for CARs
Browse files Browse the repository at this point in the history
Forgot to fix this before specs were merged. 
We already use weak Etag for CARs, no need to disable HTTP caching.
  • Loading branch information
lidel authored Jul 4, 2022
1 parent c6d66fa commit 9466ab9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions http-gateways/PATH_GATEWAY.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,6 @@ Returned directive depends on requested content path and format:
- If TTL value is unknown, implementations are free to set it to a static
value, but it should not be lower than 60 seconds.

- `Cache-Control: no-cache, no-transform` should be returned with
`application/vnd.ipld.car` responses if the block order in CAR stream is not
guaranteed to be deterministic.

### `Last-Modified` (response header)

Optional, used as additional hint for HTTP caching.
Expand Down

0 comments on commit 9466ab9

Please sign in to comment.