Skip to content

Commit

Permalink
docs(README.md): clarify layered support
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani authored Dec 13, 2018
1 parent ac5f7d9 commit 0025caa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ The prefetching provided by `quicklink` can be viewed as a [progressive enhancem
* Without polyfills: Chrome, Firefox, Edge, Opera, Android Browser, Samsung Internet.
* With [Intersection Observer polyfill](/~https://github.com/w3c/IntersectionObserver/tree/master/polyfill) ~6KB gzipped/minified: Safari, IE9+

Certain features have layered support. If opting for `{priority: true}` and `fetch()` isn't available, XHR will be used instead. Checking if the user is on a slow connection is only available on [Chrome 61+ and certain Android versions](https://caniuse.com/#feat=netinfo).
Certain features have layered support:

* The [Network Information API](https://wicg.github.io/netinfo/), which is used to check if the user has a slow effective connection type (via `navigator.connection.effectiveType`) is only available in [Chrome 61+ and Opera 57+](https://caniuse.com/#feat=netinfo)
* If opting for `{priority: true}` and the [Fetch API](https://fetch.spec.whatwg.org/) isn't available, XHR will be used instead.

## Using the prefetcher directly

Expand Down

0 comments on commit 0025caa

Please sign in to comment.