Last active
April 4, 2017 21:25
-
-
Save trajano/a61654502d4aa6191d742766f87dc5fe to your computer and use it in GitHub Desktop.
This will cause a double download of JQuery in Chrome
This file contains 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
<html> | |
<head> | |
<link rel="preload" href="//code.jquery.com/jquery-2.2.4.min.js" as="script" crossorigin /> | |
</head> | |
<body> | |
Load me up in <a href="http://rawgit.com/trajano/a61654502d4aa6191d742766f87dc5fe/raw/4aaa942f8457513d60fd1a26d953fd847b2aaea2/preload-double-download.html">Rawgit</a> don't forget to enable developer console to see the warnings. | |
<script src="//code.jquery.com/jquery-2.2.4.min.js" | |
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" | |
crossorigin="anonymous"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://rawgit.com/trajano/a61654502d4aa6191d742766f87dc5fe/raw/4aaa942f8457513d60fd1a26d953fd847b2aaea2/preload-double-download.html