There are two versions of jQuery available for download:
- Production version-used in the actual website, has been streamlined and compressed.
- Development version-for testing and development (uncompressed, readable code)
These two versions are available for download from jquery.com.
debugging functions with no min are generally used. Run with min after commissioning
tip: You can put the download file in the same directory as the page, which makes it easier to use.
If you don't want to download and store JQuery, you can also refer to it through a CDN (content distribution network).
Microsoft CDN:
tip: Using Google or Microsoft's jQuery, there's a big advantage:
Many users have already loaded jQuery from Google or Microsoft while visiting other sites. All the results are that when they visit your site, JQuery is loaded from the cache, which reduces the load time. At the same time, most cdns ensure that when a user requests a file, the response is returned from the server closest to the user, which can also increase the load speed.