Skip to content

Instantly share code, notes, and snippets.

@nhumphrey2
Last active November 29, 2018 06:23
Show Gist options
  • Save nhumphrey2/db48573934bf4353344ec5802b2bb140 to your computer and use it in GitHub Desktop.
Save nhumphrey2/db48573934bf4353344ec5802b2bb140 to your computer and use it in GitHub Desktop.
Speed Kills
<!-- Created By Neil Humphrey | MIT License-->
<link rel="preload" href="https://res.cloudinary.com/ux-ui-technologies/raw/upload/v1543467854/omahacode.min.css" as="style" />
<!-- Via JavaScript -->
<script>
var res = document.createElement("link");
res.rel = "preload";
res.as = "style";
res.href = "https://res.cloudinary.com/ux-ui-technologies/raw/upload/v1543467854/omahacode.min.css";
document.head.appendChild(res);
</script>
@nhumphrey2
Copy link
Author

<script> var res = document.createElement("link"); res.rel = "preload"; res.as = "style"; res.href = "https://res.cloudinary.com/ux-ui-technologies/raw/upload/v1543467854/omahacode.min.css""; document.head.appendChild(res); </script>

@nhumphrey2
Copy link
Author

nhumphrey2 commented Nov 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment