Open feliperaul opened 4 years ago
It would be nice to have browser.prefetch? that detects if the request is coming from a Omnibar prefetch that modern browsers perform.
browser.prefetch?
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:
Purpose: prefetch
X-moz: prefetch
X-Purpose: preview
That'd be very helpful.
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:
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:
Purpose: prefetch
X-moz: prefetch
X-Purpose: preview