GoogleChromeLabs / GoogleChromeLabs/quicklink

DNS Prefetch or Preconnect Cross-Domain URLs

Open
#203 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11.3k
Forks
429
PR merge metrics
No merged PRs in 30d

Description

It isn't always appropriate to prefetch external (cross-domain) urls, however, some optimizations can still be made for external links by requesting the browser prefetch the dns records or preconnect to the host. Twitter has enabled such a service while hovering over tweets to external urls.
![fcc gov-twitter-preconnect](https://user-images.githubusercontent.com/6685076/98158229-6ba40500-1e8f-11eb-81e3-3d5abbe2379e.png)

I would like to propose appending dns-prefetch or preconnect html tags when a user hovers or begins to click off-domain url.

```

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.