-
-
Save cramforce/c5d8ae62be229291e421 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const prefetch = document.createElement('link'); | |
| prefetch.setAttribute('rel', 'prefetch'); | |
| prefetch.setAttribute('href', url); | |
| document.head.appendChild(prefetch); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment