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

WIP: Subresource link header #7904

Closed
wants to merge 33 commits into from
Closed

Conversation

noamr
Copy link
Contributor

@noamr noamr commented May 8, 2022

(On top of #7866, waiting for it to be merged)

  • At least two implementers are interested (and none opposed):
  • Tests are written and can be reviewed and commented upon at:
  • Implementation bugs are filed:
    • Chrome: …
    • Firefox: …
    • Safari: …
    • Deno (only for timers, structured clone, base64 utils, channel messaging, module resolution, web workers, and web storage): …
    • Node.js (only for timers, structured clone, base64 utils, channel messaging, and module resolution): …

(See WHATWG Working Mode: Changes for more details.)


/browsing-the-web.html ( diff )
/images.html ( diff )
/index.html ( diff )
/links.html ( diff )
/semantics.html ( diff )
/webappapis.html ( diff )

@domenic
Copy link
Member

domenic commented Jul 24, 2023

@noamr I've lost track of what this is attempting to do. Is it still relevant?

@noamr
Copy link
Contributor Author

noamr commented Aug 13, 2023

@noamr I've lost track of what this is attempting to do. Is it still relevant?

I think we got stuck a bit on this. It's a shipped feature in some browsers so it's definitely still relevant to spec it.

@domenic
Copy link
Member

domenic commented Aug 13, 2023

Sorry, what is the actual feature? That's what I lost context on.

@noamr
Copy link
Contributor Author

noamr commented Aug 13, 2023

Sorry, what is the actual feature? That's what I lost context on.

Processing Link headers from subresource responses (e.g. a script telling you which other scripts to preload, a style telling you which sub-styles or even fonts to download).
This is not in wide use, and the industry kind of moved on to bundlers.

One real use case I think for this though is for same-origin document prefetching, as a non-speculative alternative to speculationrules and no-state prefetch: you prefetch the next document with <link rel=prefetch> and that document returns the document plus link headers with the important subresources to preload.

@noamr
Copy link
Contributor Author

noamr commented Jan 15, 2024

Not pursuing this atm.

@noamr noamr closed this Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants