|
|
|
|
|
by crescentfresh
4915 days ago
|
|
CDN, with local fallback: <script src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.x.x.min.js" type="text/javascript"></script>
<script type="text/javascript">
window.jQuery || document.write(unescape('%3Cscript src="/scripts/jquery-1.x.x.min.js"%3E%3C/script%3E'))
</script>
|
|
When hosted locally it would result in 1 less DNS lookup, as well it could reuse an open HTTP connection to fetch the resource.