Skip to content
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

Prerendering #613

Closed
nyaxt opened this issue Feb 11, 2022 · 5 comments
Closed

Prerendering #613

nyaxt opened this issue Feb 11, 2022 · 5 comments

Comments

@nyaxt
Copy link

nyaxt commented Feb 11, 2022

Request for Mozilla Position on an Emerging Web Specification

This is a request for Mozilla’s position on prerendering. Some browsers have long been shipping with the feature, and Chrome would like to also explore doing so, in an interoperable way.

We opened an issue at whatwg/html#7533 , and have a draft spec at https://github.com/WICG/nav-speculation.

Mozillans who can comment

We’d appreciate your thoughts on this.

Thanks,
@nyaxt

@domenic
Copy link
Contributor

domenic commented Sep 2, 2022

Hi Mozillans,

Chrome shipped same-origin prerendering in May. We're now looking to expand this to cover cross-origin same-site prerendering, i.e. cases like https://a.example.com/ prerendering https://b.example.com/. This will include credentials/storage access, since those are site keyed, but it will also require an opt-in from the target site via a new HTTP response header, Supports-Loading-Mode: credentialed-prerender, to protect the origin security boundary.

We've updated the spec and explainer in WICG/nav-speculation@16570ff , with perhaps the most relevant reading being:

Thanks for your time!

@sefeng211
Copy link
Member

Just to add some details - Chrome supports same-site prefetching, cross-site prefetching and same-site prerendering.

As far as I can tell, both web sites (lots of factors to consider here) and browser vendors can also benefit from this. Slides for TPAC 2023 had some success stories about this.

@smaug----
Copy link
Collaborator

prerendering adds possibly quite a bit power usage overhead, both on server and client side.

@domenic
Copy link
Contributor

domenic commented Sep 12, 2023

Our metrics for Chrome show no significant differences in power usage in the control vs experiment groups, if it helps. (Well, battery usage, at least.)

@zcorpan
Copy link
Member

zcorpan commented Apr 5, 2024

I'll merge this with #620 since we're reviewing them together.

@zcorpan zcorpan closed this as not planned Won't fix, can't repro, duplicate, stale Apr 5, 2024
@zcorpan zcorpan changed the title Request for position: prerendering Prerendering Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants