jQuery3 slim版本和普通版本区别,如何选择?
2018-01-20 09:43
465 查看
区别概述:
slim即简化版,比普通版本缺少Ajax和特效模块模块。
官方发布地址:http://blog.jquery.com/2017/03/20/jquery-3-2-1-now-available/
说明原文
Sometimes you don’t need ajax, or you prefer to use one of the many standalone libraries that focus on ajax requests. And often it is simpler to use a combination of CSS and class manipulation for all your web animations. Along with the regular version of jQuery that includes the ajax and effects modules, we’ve released a “slim” version that excludes these modules. The size of jQuery is very rarely a load performance concern these days, but the slim build is about 6k gzipped bytes smaller than the regular version – 23.6k vs 30k.
谷歌翻译
有时你不需要Ajax,或者你更喜欢使用专注于Ajax请求的独立库中的一个。 对于所有的Web动画,通常使用CSS和类操作的组合更为简单。 除了包含ajax和特效模块的常规jQuery版本之外,我们还发布了一个排除这些模块的“超薄”版本。 jQuery的大小现在很少是一个负载性能的问题,但是超薄的版本比普通版本小了大约6k个字节(23.6k VS 30k 压缩后)。
大小截图:
bootstrap 4,官方手册中介绍的默认使用的slim版本。
来自:吠品整理。
slim即简化版,比普通版本缺少Ajax和特效模块模块。
官方发布地址:http://blog.jquery.com/2017/03/20/jquery-3-2-1-now-available/
说明原文
Sometimes you don’t need ajax, or you prefer to use one of the many standalone libraries that focus on ajax requests. And often it is simpler to use a combination of CSS and class manipulation for all your web animations. Along with the regular version of jQuery that includes the ajax and effects modules, we’ve released a “slim” version that excludes these modules. The size of jQuery is very rarely a load performance concern these days, but the slim build is about 6k gzipped bytes smaller than the regular version – 23.6k vs 30k.
谷歌翻译
有时你不需要Ajax,或者你更喜欢使用专注于Ajax请求的独立库中的一个。 对于所有的Web动画,通常使用CSS和类操作的组合更为简单。 除了包含ajax和特效模块的常规jQuery版本之外,我们还发布了一个排除这些模块的“超薄”版本。 jQuery的大小现在很少是一个负载性能的问题,但是超薄的版本比普通版本小了大约6k个字节(23.6k VS 30k 压缩后)。
大小截图:
bootstrap 4,官方手册中介绍的默认使用的slim版本。
来自:吠品整理。
相关文章推荐
- jQuery版本如何选择
- jQuery版本如何选择
- TI的ZigBee协议栈不同版本的区别,如何选择合适的协议栈进行产品开发
- 如何选择下载版本,简体中文 GBK 与UTF-8 的区别
- 如何选择jQuery版本 1.x? 2.x? 3.x?
- 面对系统中多个版本的VC运行时库,应用程序如何选择
- 如何兼容所有Android版本选择照片或拍照然后裁剪图片--基于FileProvider和动态权限的实现
- 不同php版本中VC6与VC9,Thread Safety与None-Thread Safe,Apache module与fastcgi的区别与选择
- jquery属性选择器中|value和^value的区别
- JQuery 如何选择带有多个class的元素
- 移动三国己然鼎立,普通开发者如何选择开发平台?
- autocad如何选择适合自己的版本
- jQuery版本选择问题
- jquery的选择器的使用技巧之如何选择input框
- sql server2008 R2 各个版本的区别与选择