Yesterday I had problems with some jQuery script. I did some research and realized that the following line (in head tags) has an error:
<script type="text/javascript" src="/Scripts/jquery-1.7.2.min.js"></script>
The error was:
Request to “http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js” failed (HTTP Status: Failed)
I tried to reach the file directly with no success.
I tried to upgrade to 1.8.2 but I faced some other issues.
Minutes after that… I suddenly realized that the problem was fixed… weird…
Now I encounter the same problem… I look into my code with no clue on what could be causing this error…. suddenly… the file I mention came accessible again! The error was gone.
What could be causing this? Could ajax.aspnetcdn.com servers be failing? Has anybody faced this problem these days???
Thanks in advance.
PD: It’s my first community question. I been back here all these years learning a lot from you guys!!
Trust in google 🙂
https://developers.google.com/speed/libraries/devguide#jquery
you can have your picking from multiple versions of jquery, and I personally have never had any problems with googles CDN 🙂