From 9466ab9f7a77229160b2ad3d9ee30dfab2a9acd2 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Tue, 5 Jul 2022 01:03:42 +0200 Subject: [PATCH] gateway: use regular cache-control for CARs Forgot to fix this before specs were merged. We already use weak Etag for CARs, no need to disable HTTP caching. --- http-gateways/PATH_GATEWAY.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/http-gateways/PATH_GATEWAY.md b/http-gateways/PATH_GATEWAY.md index 4da1a8756..e41414fd7 100644 --- a/http-gateways/PATH_GATEWAY.md +++ b/http-gateways/PATH_GATEWAY.md @@ -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.