I am using jquery in my web page so I have included the script in my HTML like this:
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.2.min.js"></script>
If I try to hit the URL: code.jquery.com/jquery-1.11.2.min.js
it will not load for first few attempts. after that it will load. This is happening from past few days.
These scripts are included at the top of <head>
and were working good for past and this problem is occurring from couple of days.
Is there something wrong in a way I include these or is there some change that happened in jquery?
EDIT:
In developer tools I can see this:
status: (failed)
Request URL: https://code.jquery.com/jquery-1.11.2.min.js
Referrer Policy: no-referrer-when-downgrade
Request headers:
Referer: https://somePage.com/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
If I load the page https://code.jquery.com/jquery-1.11.2.min.js
in the browser it works for second or the third attempt
` for better performance.
– SilverSurfer May 15 '18 at 11:55