Latest jQuery version on Google's CDN

后端 未结 5 956
无人共我
无人共我 2020-11-28 19:21

I read in the official doc of the Google CDN that this is the src to jQuery:



        
5条回答
  •  被撕碎了的回忆
    2020-11-28 20:18

    I don't know if/where it's published, but you can get the latest release by omitting the minor and build numbers.

    Latest 1.8.x:

    
    

    Latest 1.x:

    
    

    However, do keep in mind that these links have a much shorter cache timeout than with the full version number, so your users may be downloading them more than you'd like. See The crucial .0 in Google CDN references to jQuery 1.x.0 for more information.

提交回复
热议问题