Recognize a returning request
01A Content Delivery Network (CDN) forwards requests on behalf of an origin service. If CDN A forwards to CDN B and a bad route sends B back to A, repeated forwarding can form a loop. CDN-Loop records CDN identifiers so a participant can notice an earlier visit. The names and stopping policy here are fictional examples.
The returned request has already arrived at A. A sees a.example in the field; this example’s policy stops a new A-to-B forward. No particular response code or universal one-visit limit is implied.
Source for this drawing: RFC 8586 · Read RFC section 2 ↗
New to this? Start hereA quick picture + helpful background
A message needs an address.
Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Terms in this drawing
- CDN
- Content Delivery Network: an intermediary service that can handle and forward requests in front of an origin.
- Origin
- The service for which a CDN handles requests.
- Forwarding loop
- A routing cycle in which a request returns to an earlier forwarding participant.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
A CDN can inspect the recorded identifiers before forwarding again.
- Conforming CDNs SHOULD add a cdn-info entry to CDN-Loop in all requests they generate or forward, creating the field when necessary.
- The field is intended to help a CDN identify that an incoming request has already passed through its servers.
- RFC8586 does not specify a universal visit threshold, detection algorithm or HTTP error status. Stopping on the first observed return is this example’s local policy, not a new RFC requirement.
- A client can generate this field, so recorded identifiers are not authenticated proof of actual visits.
A request can arrive successfully yet be stopped from being forwarded again. A repeated identifier is a signal for a policy decision, not a cryptographic fact.
Read the RFC section ↗