Skip to content

Commit

Permalink
chore(gw): allow best-effort cache-control on missing ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jul 29, 2024
1 parent 5e84225 commit d3cdb71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/http-gateways/path-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,8 @@ Returned directive depends on requested content path and format:
TXT record.
- Implementations MAY place an upper bound on any TTL received, as
noted in Section 8 of :cite[rfc2181].
- If TTL value is unknown, implementations SHOULD not send a `Cache-Control`
- If TTL value is unknown, implementations MAY send a best-effort `Cache-Control`
informing caches and CDNs how long a stale response is acceptable.
- No matter if TTL value is known or not, implementations SHOULD always
send a [`Last-Modified`](#last-modified-response-header) header with the timestamp of the record resolution.

Expand Down

0 comments on commit d3cdb71

Please sign in to comment.