1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

jquery and cdn

Discussion in 'XenForo Questions and Support' started by lalalatrululu, Mar 25, 2011.

  1. lalalatrululu

    lalalatrululu Member

    hi everybody
    i set in admin panel in performance settings microsoft cdn to load jquery
    when i see source html code i see this
    HTML:
    <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.4.min.js"></script>
    
            <script type="text/javascript">if (!window.jQuery) { document.write('<scr'+'ipt type="text/javascript" src="js/jquery/jquery-1.4.4.min.js"><\/scr'+'ipt>'); }</script>
    don't you think jquery still loads from my site and from MS CDN too?
     
  2. Mike

    Mike XenForo Developer Staff Member

    It only loads if the outside CDN fails.
     
    lalalatrululu likes this.
  3. a legacy reborn

    a legacy reborn Well-Known Member

    FAIL SAFES FTW!
     

Share This Page