Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the concept of slim in jquery

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Today, the editor will share with you the relevant knowledge of what the concept of slim is in jquery. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.

Jquery slim refers to the simplified slimming version of jquery, which lacks modules such as Ajax and special effects than the normal standard version, so the file is also smaller than the standard version: the compressed size of the slim version is 23.6kb, while the size of the standard version is 30kb.

The operating environment of this tutorial: windows7 system, jquery3.3.1 version, Dell G3 computer.

After jQuery3.0, in addition to the standard version, there is also a new model version, which we can call the slimming version, officially named "Slim".

Slim, Baidu translation: slender; slender, slender; tiny; worthless.

An overview of the differences:

Slim is the simplified version, which lacks modules such as Ajax and special effects than the ordinary version. If you do not use AJAX, effects, and other functions, you can choose to use this body version of "Slim" jQuery, which has a compressed size of 23.6kb and a standard version of 30kb.

Explain the original text

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.

Google translator:

Sometimes you don't need Ajax, or you prefer to use one of the separate libraries that focus on Ajax requests. For all Web animations, it is usually easier to use a combination of CSS and class operations. In addition to the regular jQuery version that contains ajax and special effects modules, we have released an "ultra-thin" version that excludes these modules. The size of jQuery is rarely a load performance issue now, but the ultra-thin version is about 6k bytes smaller than the normal version (23.6k VS 30k compression).

These are all the contents of the article "what is the concept of slim in jquery". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report