Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

When you go to jquery.com you see on top right "Grab the latest version! Choose your compression level:" its saying 32Kb for Production (compressed) version in reality when you download it its 91Kb. Go figure if they forgot to update it or want to mislead people who new to it into that its compact thing.

share|improve this question

closed as not a real question by danlefree Oct 26 '12 at 22:26

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

up vote 1 down vote accepted

The information they are providing is right because the gzipping happens on the server that gives the file.

The server you are using has to be configured to allow gzipped version of javascript files. The version from Google CDN is already gzipped.

share|improve this answer
    
i tested that and its true, but however they should have said that. –  OkOXXX Oct 26 '12 at 22:35
    
yes you are right, they should mention it somewhere to avoid confusion. –  Mohamed Anis Dahmani Oct 26 '12 at 23:10

I would suggest reading why jQuery is actually a great framework to use. But you can be stubborn and write pure javascript the long hard way the rest of your life. Why not download the uncompressed version of jQuery and minify it yourself?

http://stackoverflow.com/a/6844893/804087

http://stackoverflow.com/a/67079/804087

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.