Current location - Health Preservation Learning Network - Healthy weight loss - What's the difference between jquery.slim.js and jquery?
What's the difference between jquery.slim.js and jquery?
Look at the official description:

Sometimes you don't need ajax, or you prefer to use one of the many independent libraries that focus on ajax requests. It is usually easier to use a combination of CSS and class m operations for all your web page animations. In addition to the regular version of jQuery that contains ajax and effects modules, we also released a "condensed" version that does not contain these modules. In a word, it excludes ajax, effects and code that has been abandoned at present. Nowadays, the size of jQuery is rarely a load performance problem, but the compact version is 6k gzipped bytes smaller than the normal version-23.6k is 30k.

Is to remove the function of ajax. If you don't need ajax or use an independent third-party ajax library, you can use this jquery.slim.js, which is a slim version, not a plug-in.