Code: Select all
<!--[if lt IE 9]>
<script src="./forum/assets/js/jquery-1.11.x.js"></script>
<![endif]-->
<!--[if gte IE 9]><!-->
<script src="./forum/assets/js/jquery-2.0.x.js"></script>
<!--<![endif]-->
Code: Select all
<!--[if lt IE 9]>
<script src="./forum/assets/js/jquery-1.11.x.js"></script>
<![endif]-->
<!--[if gte IE 9]><!-->
<script src="./forum/assets/js/jquery-2.0.x.js"></script>
<!--<![endif]-->
No. jQuery 2 is 12.7 kb smaller. Hardly a savings worth anything, especially considering after it's first loaded, it's cached.Sumanai wrote:Will benefit in speed. Since version 2.0 does not pull the cargo compatibility with older browsers, it is faster and weighs less.
Overhead to perform redundant code compatibility with older IE will accumulate.nickvergessen wrote:You will notice the 0.01 seconds in loading
Look at the code that I posted above. It allows you to load jQuery in modern browsers, and jQuery 1.x in IE 8 and older.VSE+ wrote:The loss of functionality to all users on IE8 and below far outweighs the above.
jQuery 2.0-just a continuation of jQuery 1.x, the same library. Its concept has not changed.VSE+ wrote:jQuery 2.0 is intended for modern web-apps targeted only at modern browsers.
They're not putting in nasty IE-only conditional comments (hacks) to load one version for old IE and another for all else. This is a moot point.Sumanai wrote:Look at the code that I posted above.
I think your pleading is to no avail. I don't see it happening for 3.1 .Sumanai wrote:This code works stably, it is valid markup.