-
Notifications
You must be signed in to change notification settings - Fork 22.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prefetch glossary + prerendering #27589
Conversation
Preview URLs (6 pages)Flaws (30)Note! 3 documents with no flaws that don't need to be listed. 🎉 URL:
URL:
URL:
External URLs (3)URL:
URL:
URL:
(comment last updated: 2023-06-30 15:00:11) |
@noamr Would it be possible for you to review this PR, in particular /en-US/docs/Glossary/Prefetch and also the linked HTTP header doc I'm interested in whether this is sufficient, and of course correct. |
Thanks @noamr - really appreciate your advice. I think I've addressed it (mostly be deleting the bits that were confusing, and not strictly necessary). |
OK this all looks great @hamishwillee - I got stuck because I'm uncomfortable with closing link elements |
FF115 adds support for spec compliant prefetch, following a round of standardization. Essentially this is a
Sec-Purpose: prefetch
header, requirement that theAccept
header matches the normal navigation request, andSec-Fetch-Dest
must be empty.No one else complies yet, and the others are a bit of a hodge-podge in terms of the HTTP backend. What I have already done is added the
Sec-Purpose: prefetch
header doc and that is where compatibility will be tracked as we head towards it.This PR updates the glossary for Prefetch (and the prerrendering too). What it aims to do is make this new specification behaviour clear. I have also made it clear in a note that this is new behaviour and hinted at the old behaviour. But I have deliberately not tried to describe that behaviour in detail - Chrome does some "interesting" stuff with the HTTP cache and ignores the requirement for the
Sec-Fetch-Dest
to be empty.It also deletes the old link handling FAQ, which was mostly "old behaviour".
Related docs work in #27171