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

Feature request: detect browser prefetch #497

Open
feliperaul opened this issue Sep 30, 2020 · 2 comments
Open

Feature request: detect browser prefetch #497

feliperaul opened this issue Sep 30, 2020 · 2 comments

Comments

@feliperaul
Copy link

It would be nice to have browser.prefetch? that detects if the request is coming from a Omnibar prefetch that modern browsers perform.

This stackoverflow answer (https://stackoverflow.com/questions/9852257/http-header-to-detect-a-preload-request-by-google-chrome) tells that each browser vendor sends different headers, being:

  • Chrome: Purpose: prefetch
  • Firefox: X-moz: prefetch
  • Safari: X-Purpose: preview
@StanBright
Copy link

That'd be very helpful.

@fidalgo
Copy link

fidalgo commented Apr 8, 2021

As I've dig into this subject I will let here some useful documentation I've found about the issue, in case it can help anyone else:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants