New HTTP Response header: cf-request-id

After the Cloudflare Dashboard and API Outage on April 15, 2020 I started noticing a new response header cf-request-id. I believe this is a header Cloudflare used before the cf-ray. Did this header somehow sneak back in or is it intentionally back?

~ » curl -I https://levi.lol                                                                                                                                           [email protected]
HTTP/2 200 
date: Sat, 18 Apr 2020 23:57:07 GMT
content-type: text/html
content-length: 3173
set-cookie: __cfduid=da56d454cc325f89e7ccdf0dea9c88f3e1587254227; expires=Mon, 18-May-20 23:57:07 GMT; path=/; domain=.levi.lol; HttpOnly; SameSite=Lax; Secure
cf-ray: 5862538acfbebe82-RIC
accept-ranges: bytes
age: 12123
cache-control: max-age=8640000
cf-cache-status: HIT
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
server: cloudflare
cf-request-id: 0231528abc0000be82a28d8200000001

Hi @levi.durfee,

I see the same on my sites and just checked. It is a new ID format which will replace the RayID at some point. I am not sure if it is something they have used previously, but this seems to be why it’s there now!

2 Likes

Thank you :slight_smile:

I’ll need to make some changes since I’ve been using the cf-ray in my code.

No problem, the person I spoke to said they didn’t have a date for the change, however I would hope it will be documented more before it happens.

2 Likes

This topic was automatically closed after 14 days. New replies are no longer allowed.

Just an update to this thread. It seems the plan has changed! You will most likely receive an email about it too, but just wanted to post an update here and in case anyone finds this thread via the search.

In mid 2020, we introduced cf-request-id, an experimental HTTP header. This header was present on requests sent to origins and returned in responses to eyeballs (users). After careful evaluation, we decided to remove the cf-request-id header.

On 15 June, 2021, we will temporarily remove the cf-request-id header between 15:00 UTC to 23:00 UTC.

Starting on 1 July 2021, we will stop adding the cf-request-id header on HTTP requests and responses.

4 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.