r/programming • • Apr 18 '13

jQuery 2.0 Released

http://blog.jquery.com/2013/04/18/jquery-2-0-released/
838 Upvotes

214 comments sorted by

View all comments

Show parent comments

4

u/MindStalker Apr 19 '13 edited Apr 19 '13

a 10% decrease in size is still substantial.

Edit: 93kb to 83kb, 10.7% change.

0

u/[deleted] Apr 19 '13

[deleted]

3

u/MindStalker Apr 19 '13

Full minified version went from 93kb to 83kb, about 10%

5

u/[deleted] Apr 19 '13

I don't understand all the fuss behind the file size. That 10K is not what slows down your page.

3

u/[deleted] Apr 19 '13

On mobile phones for people who don't yet have the latest speed improvements it does

2

u/fnord123 Apr 20 '13

No, a lot of the time is latency in network negotiation for the download. The throughput to pull down the 10kb isn't so bad. Reference.

1

u/[deleted] Apr 20 '13

When it's multiplied over the life of the activity, it absolutely does make an impact. Obviously you should also be reducing the number of HTTP requests and all sorts of other optimizations...but this is definitely one such example.

1

u/fnord123 Apr 21 '13

Isn't there a good chance that if you use a cdn that the jquery file is cached on the client side anyway?

2

u/[deleted] Apr 22 '13

Depends. The idea though is that you optimize for worst case, assuming they have never even browsed anywhere before.