Early Hints feedback

Nope, I don’t use R2.

We can Check the header in “Curl”

Command:
curl "https://example.com/" -LIXGET

output

HTTP/2 103
link: <https://example.com

HTTP/2 200

It is easy to check the 103 working.

2 Likes

However, We will be find out issue.
Sometimes 103 has not been sent.

WHAT IS THIS???

That issue is irregular, i guess…

When Google Page Speed Insights and GTMetrix is working time,
Perhaps 103 have not been sent.

It is my speculation, 103 is not working well.

1 Like

There are also other problems.

The way to add Chrome’s access token is not provided by Cloudflare.
In short we can not participate in “USING ORIGIN TRIAL”.

“Chrome-103 Early Hints”
https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/early-hints.md

Even if you request a token as in this guide and insert “Origin-Trial: ** Your TOKEN **” into the header, the token is not cached in 103 requests, so you can not test it to the wide area user.

Or is this too irregular bugs?

It may not be necessary to confirm, but this feature is a beta version and hardly is not provided in a browser.
What I would like to say to those who opened the thread with interest is that “I cannot recommend this now yet”.

The problem may be more serious than imagined.
But I am looking forward to your feedback. :smiley:

1 Like

Correct. I would expect Cloudflare would put in a configuration field in the UI so we could add the token but then it would enable Early Hints to all browsers and the rule from the Chromium project is to only do it for a subset of clients. The way to test it is for some of your visitors to use a shortcut to Chrome with a start parameter to enable Early Hints on the client.

2 Likes

Hmmm. Not seeing this when I retrieve a page using curl.

1 Like

I do not understand what is not displayed, but …
As possible reasons, CURL version problems or command syntax are incorrect.

New version curl download
https://curl.se/download.html

You can try command

curl 'https://example.com/' -LIXGET
or
curl "https://example.com/" -LIXGET
or
curl https://example.com/ -LIXGET

As a known issue, “103” may not be transmitted.

If not resolved, what is the output on the screen?

I think it’s probably a bug on Cloudflare’s side that only 200 is output instead of 103.
Sometimes 103 is output.

Mystery…

It is an anomalous way, but using the “HTTP3 check” site, it was possible to confirm whether there is a 103 Early Hints header.

HTTP3 Check
https://www.http3check.net/

This behavior is a bug, so I think it is not possible to use forever, but share.

Also, as mentioned earlier, Sometimes “103” work and sometimes it does not work.
The regularity is unknown.

SOMETIMES Working

SOMETIMES NOT WORKING

What is this…

A BIG warning to anyone enabling Early Hints - do NOT do so with preload links on a production webpage! We figured out after a week of mysteriousness that Early Hints was causing the following problems:

  • Google Search Console reported “no content” while crawling pages
  • Twitter and Reddit link previews (through opengraph meta tags) failed to show up
  • Google Ads failed approvals due to inaccessible site

Finally figured out when the w3c HTML validator failed saying the site was returning status 103

Until these issues are resolved I don’t think anyone should be enabling this feature. I would suggest adding some sort of warning about how this can really mess things up

5 Likes

I agree to your opinion.
Some crawlers and BOTs have error by 103.

I write for the person who saw, but this problem is not due to Cloudflare.
But, Cloud Flare should warn.

Some crawlers and BOTs handle queries after GET Requests. Perhaps, At that moment, they do not judge 200 OK or 103.
A 103 is misidentified as a final request and an error has occurred.

It is considered that it is the “current normal implementation”.

Many clients need to be renovated, which is considered to take lots of time.
Perhaps a few months are needed.

There are many people who have Early Hints without thinking anything.
Cloud Flare should warn.

The fact that it is a beta version is not an excuse to allow fatal bugs, and this is below the alpha version level.

Also, and this is unrelated, but CloudFlare please give me a t-shirt. :rofl:

1 Like

Can confirm, this broke Google crawl on my site. Both the rich snippets tool and Google search console were unable to retrieve content, and the crawl response time went from milliseconds up to many seconds. Definitely a major issue.

3 Likes

Cloudflare advises me the Google crawl issue has been raised with Google

3 Likes

That’s right.

I think it is a problem of receiving 103 as mentioned earlier.

Fastly’s 103 test sites do not work with Googe PageSpeed Insights and GTMetrix.

Early Hints Client Tests - Fastly
https://early-hints.fastlylabs.com/

However, something strange is indexed.
Is that site branched output with a user agent…?

1 Like

Hi everyone - thanks for all the testing and feedback here! I’ve escalated the crawler/indexing issue to Google.

7 Likes

Thanks for escalating with Google. But what about other crawlers/indexers? Are you working with the other major search engines and crawlers to make sure they work well with 103 responses?

To update here, having a lot of calls with companies that run large crawlers and other intermediaries. In short, many of these services rely on the (incorrect) assumption that 1 request = 1 response. As a temporary fix, we’re working on releasing a gate that will not send 103s to these crawler’s (etc) UA so that indexing doesn’t break while we wait for these companies to make some changes on their side. I’ll update here when this goes out. Thanks again everyone for all the testing here! Really appreciate the effort and helps us know where we need to fix on our side or talk with others to make sure everyone can see the benefits of EH :slight_smile:

12 Likes

Nice to see work being done here :smiley:
Keep it going!

1 Like

The crawler fix described above has been rolled out now. We’re tracking page speed integration separately (like lighthouse) and will followup with additional details when we have something to share there. Thanks and please keep the testing going and let us know about more issues!

5 Likes

Thanks for the update! I’ve turned Crawler Hints back on and will monitor.

1 Like

@akrivit , can Early Hints handle multiple assets per Link, as is handled by Server Push?