简体   繁体   中英

Difference between YUI 3.3 and YUI 3.7

我有一个使用YUI 3.3.0和YUI 2.9.0的网站(使用YUI 2in3项目),现在我正在尝试提高网站初始加载时间的性能,我遵循了我在网络上找到的几个提示,但是我想知道如果我从YUI 3.3.0升级到YUI 3.7.1,我是否有任何改进

What's the difference? YUI 3.3.0 was released in January 2011, and 3.7.1 in September 2012, so that is ~20 months of work by the YUI team and community on the library that is missing (4 versions). Since YUI has hundreds of modules, it's tough to pin-down exactly what changed that could affect your site. It could be very little, or it could be a lot. It's very unlikely that an upgrade could slow-down your site, though. Performance has always been a high priority for the project, so whenever performance wins can be had, they are taken. For example, this recent 3.6.0->3.7.0 introduced some significant custom-event performance improvements ( source ).

You can take a peek through each release announcement to see if any of your specific needs were addressed:

Also, stop by #yui on Freenode if you have any specific questions about your site and YUI performance.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM