On jQuery's official website, they say the minified file size is 18k, but after downloading, I found that is 53.9K, do I have to do something to compress it after downloading?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Include empty value fields in jQuery .serialize()
- Disable Browser onUnload on certain links?
- how to get selected text from iframe with javascri
If you want to use less bandwidth both from your server, and to your visitors, you should let Google host jQuery for you. Reasons (from encosia.com):
Here is one way to do it. (The other way is with google.load(), see the link above):
The website states it's 18k minified and gzipped. So you need to setup your web server to compress JavaScript files to see that file size.