Choose a version:
33% The original file has 257551 bytes (251.5k) and is available from the project website.
There you can find the official minified version, too, which brings down the size to 85578 bytes (83.6k, 33%).

After GZIP compression these minified files vary in size:
Microsoft
  38304 bytes (37.4k)
CDN
Boot
  34834 bytes (34.0k)
CDN
jsdelivr
  34834 bytes (34.0k)
CDN
cdnjs
  30065 bytes (29.4k)
CDN
gzip -6 (default)
  29875 bytes (29.2k)
local copy
unpkg
  29866 bytes (29.2k)
CDN
gzip -9
  29831 bytes (29.1k)
local copy
Google
  29822 bytes (29.1k)
CDN
Sina
  29822 bytes (29.1k)
CDN
7zip -mx=9 -tgzip
  28874 bytes (28.2k)
local copy
libdeflate -12
  28812 bytes (28.1k)
local copy
zultra
  28801 bytes (28.1k)
local copy
pigz -11 -n
  28796 bytes (28.1k)
local copy
kzip -s0 -rn -b2
  28787 bytes (28.1k)
local copy
Zopfli
  28764 bytes (28.1k)
local copy
Zopfli (defluff)
  28763 bytes (28.1k)
local copy

perma-link to the smallest file on my server:
http://minime.stephan-brumme.com/files/jquery/jquery-2.2.4.min.js (or via HTTPS)

You will automatically get the smallest jQuery 2.2.4 file, ETag caching is available and
if your browser doesn't support GZIP decompression then the uncompressed version will be sent.

Currently best Zopfli settings

Save 1058 bytes by using my jQuery 2.2.4 Zopfli version instead of the best available CDN (3.68% smaller than Sina, 28764 vs. 29822 bytes):
You can use my super-compressed files for whatever purpose you like as long as you respect the library's original license agreement.
There are no restrictions from my side - but please avoid hot-linking if you run a high-traffic website.

These command-line settings yielded the best compression ratio so far (Linux version of zopfli-krzymod):
zopfli --i1000000 --mb8 --mls64 --bsr20 --lazy --ohh

(found May 22, 2016)
Description Value Parameter
iterations 1000000  --i1000000
maximum blocks 8  --mb8
maximum length score 64  --mls64
block splitting recursion 20  --bsr20
lazy matching in LZ77 yes  --lazy
optimized Huffman headers yes  --ohh
initial random W for iterations 1  --rw1
initial random Z for iterations 2  --rz2

Even Smaller Files Thanks To Defluff

Zopfli's output can be further optimized by the defluff tool.
In this particular case, defluff saves 1 more byte (28763 bytes).

Verify file integrity

After decompression, my uncompressed files are identical to the original ones:

MD5:
curl --silent --compressed https://code.jquery.com/jquery-2.2.4.min.js --location | md5sum
2f6b11a7e914718e0290410e85366fe9  -
curl --silent --compressed https://minime.stephan-brumme.com/files/jquery/jquery-2.2.4.min.zopfli.js.gz | md5sum
2f6b11a7e914718e0290410e85366fe9  -

SHA1:
curl --silent --compressed https://code.jquery.com/jquery-2.2.4.min.js --location | sha1sum
69bb69e25ca7d5ef0935317584e6153f3fd9a88c  -
curl --silent --compressed https://minime.stephan-brumme.com/files/jquery/jquery-2.2.4.min.zopfli.js.gz | sha1sum
69bb69e25ca7d5ef0935317584e6153f3fd9a88c  -

All listed CDNs deliver identical contents:
CDN Size (compressed) MD5 (uncompressed) Timestamp
Microsoft 38304 bytes 2f6b11a7e914718e0290410e85366fe9 June 16, 2016 @ 18:18
Boot 34834 bytes 2f6b11a7e914718e0290410e85366fe9 May 21, 2016 @ 05:38
jsdelivr 34834 bytes 2f6b11a7e914718e0290410e85366fe9 May 20, 2016 @ 19:34
cdnjs 30065 bytes 2f6b11a7e914718e0290410e85366fe9 May 20, 2016 @ 21:01
unpkg 29866 bytes 2f6b11a7e914718e0290410e85366fe9 July 11, 2016 @ 15:38
Google 29822 bytes 2f6b11a7e914718e0290410e85366fe9 May 23, 2016 @ 18:49
Sina 29822 bytes 2f6b11a7e914718e0290410e85366fe9 September 9, 2016 @ 10:47

Note: only the MD5 hashes are shown to keep things simple.

Other Versions

Available jQuery versions at minime.stephan-brumme.com:

3.6.1, 3.6.0,
3.5.1, 3.5.0,
3.4.1, 3.4.0,
3.3.1, 3.3.0,
3.2.1, 3.2.0,
3.1.1, 3.1.0, 3.0.0,
2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0,
2.1.4, 2.1.3, 2.1.2, 2.1.1, 2.1.0,
2.0.3, 2.0.2, 2.0.1, 2.0.0,
1.12.4, 1.12.3, 1.12.2, 1.12.1, 1.12.0,
1.11.3, 1.11.2, 1.11.1, 1.11.0,
1.10.2, 1.10.1, 1.10.0,
1.9.1, 1.9.0,
1.8.3, 1.8.2, 1.8.1, 1.8.0,
1.7.2, 1.7.1, 1.7.0,
1.6.4, 1.6.3, 1.6.2, 1.6.1, 1.6,
1.5.2, 1.5.1, 1.5,
1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4,
1.3.2, 1.3.1, 1.3,
1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2,
1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.1,
1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0

The project site contains an overview how well these versions were compressed.
Other interesting projects are AngularJS, BackboneJS, Bootstrap, D3, Dojo, Ember, Knockout, lodash, React, Socket.IO, ThreeJS, UnderscoreJS and Vue.

Changelog

Best Zopfli parameters so far:
Size Improvement Parameters Found
28764 bytes -1 byte zopfli --i1000000 --mls64 --bsr20 --lazy --ohh May 22, 2016 @ 08:03
28765 bytes -3 bytes zopfli --i100000 --mls64 --bsr20 --lazy --ohh May 21, 2016 @ 02:13
28768 bytes -1 byte zopfli --i100000 --mls8 --bsr21 --lazy --ohh May 21, 2016 @ 01:40
28769 bytes -5 bytes zopfli --i10000 --mls8 --bsr21 --lazy --ohh May 21, 2016 @ 01:06
28774 bytes -3 bytes zopfli --i1000 --mls8 --bsr21 --lazy --ohh May 21, 2016 @ 01:04
28777 bytes zopfli --i100 --mls8 --bsr21 --lazy --ohh May 21, 2016 @ 00:58

If there are multiple parameter sets yielding the same compressed size, only the first one found is shown.

Most recent activity on July 20, 2020 @ 12:52.

Heatmaps

This Zopfli heatmap visualizes how compression changes when modifying the --bsr and --mls parameter.
Cell's contents is the best filesize achieved (in bytes, hover with mouse over cells to see number of iterations).

Good parameters are green, bad are red. The best and worst are bold as well.
The brightness of the blue background color indicates how many iterations were processed:
10,000, 100,000 or 1,000,000.
bsr \ mls
2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
bsr \ mls
2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
28773 28777 28777 28779 28776 28779 28778 28779 28775 28776 28781 28779 28777 28776 28781
28785 28780 28786 28779 28775 28776 28784 28782 28781 28781 28776 28777 28777 28776 28786
28781 28780 28780 28783 28781 28781 28780 28780 28781 28780 28771 28775 28776 28775 28782
28781 28780 28780 28781 28780 28794 28782 28780 28781 28780 28771 28775 28776 28774 28775
28781 28780 28777 28789 28774 28780 28780 28781 28775 28780 28771 28776 28777 28774 28782
28781 28783 28771 28780 28789 28770 28780 28780 28775 28781 28771 28776 28785 28776 28775
28781 28780 28783 28792 28780 28786 28780 28780 28781 28780 28771 28776 28789 28774 28775
28781 28780 28780 28781 28781 28780 28782 28779 28775 28772 28771 28776 28777 28774 28774
28781 28780 28781 28792 28780 28781 28780 28779 28775 28780 28771 28776 28777 28774 28775
28781 28780 28779 28779 28780 28780 28780 28780 28782 28780 28771 28776 28776 28775 28773
28781 28780 28782 28791 28781 28774 28768 28780 28776 28780 28771 28776 28776 28774 28779
28781 28781 28780 28781 28780 28782 28783 28780 28780 28780 28774 28775 28776 28774 28772
28781 28780 28781 28791 28780 28798 28780 28780 28775 28781 28771 28776 28775 28774 28772
28773 28778 28780 28783 28776 28781 28780 28780 28775 28780 28771 28776 28776 28774 28773
28781 28779 28797 28785 28771 28772 28780 28775 28775 28781 28771 28776 28776 28774 28773
28781 28780 28779 28785 28780 28780 28780 28780 28781 28782 28772 28776 28777 28774 28776
28780 28780 28780 28792 28774 28764 28780 28780 28781 28781 28771 28776 28776 28775 28774
28782 28780 28768 28781 28781 28796 28780 28780 28781 28780 28771 28775 28776 28776 28775
28782 28780 28780 28792 28780 28773 28780 28780 28775 28780 28771 28775 28776 28775 28775
28782 28780 28779 28781 28780 28780 28780 28780 28775 28781 28772 28776 28777 28774 28775
28781 28778 28780 28785 28780 28782 28780 28780 28782 28782 28771 28776 28775 28775 28774
28781 28767 28775 28775 28771 28782 28780 28780 28781 28773 28771 28777 28776 28774 28774
28772 28780 28770 28781 28781 28796 28780 28780 28775 28781 28771 28776 28776 28774 28773

Due to the Monte Carlo design of my search algorithm, not all parameters have reached the same number of iterations yet:
Iterations Min. Bytes Reduction Coverage
100 28777 bytes 100%
1,000 28769 bytes -8 bytes 100%
10,000 28768 bytes -1 byte 100%
100,000 28765 bytes -3 bytes 1.16%
1,000,000 28764 bytes -1 byte 0.29%
10,000,000

KZIP has far less options available for tuning/optimization. I only played around with the number of blocks (parameter -n):
Blocks Min. Bytes Compared To Best Zopfli Compared To Best KZIP
28877 bytes +113 bytes (+0.39%) +90 bytes
28883 bytes +119 bytes (+0.41%) +96 bytes
28787 bytes +23 bytes (+0.08%)
28798 bytes +34 bytes (+0.12%) +11 bytes
28808 bytes +44 bytes (+0.15%) +21 bytes
28839 bytes +75 bytes (+0.26%) +52 bytes
28876 bytes +112 bytes (+0.39%) +89 bytes
28926 bytes +162 bytes (+0.56%) +139 bytes
28963 bytes +199 bytes (+0.69%) +176 bytes

Non-DEFLATE Algorithms

Archivers based on completely different compression algorithms often produce superior results.
Unfortunately, browsers only support gzip compression at the moment.
However, support for Brotli is constantly growing - but your browser doesn't support it.
Algorithm Program Parameters Size Compared To Best Zopfli
ZPAQ (Wikipedia) zpaq zpaq -method 69 23915 bytes -4849 bytes (-16.86%)
RAR (proprietary) RAR rar a -m5 -md64m -mc63:128t -mt1 24412 bytes -4352 bytes (-15.13%)
PPMd (Wikipedia) 7zip 7za a -mx=9 -m0=ppmd 25874 bytes -2890 bytes (-10.05%)
Brotli (Wikipedia) brotli brotli -q 11 26961 bytes -1803 bytes (-6.27%)
Burrows-Wheeler transform (Wikipedia) bzip2 bzip2 -9 27267 bytes -1497 bytes (-5.20%)
LZMA2 (Wikipedia) xz xz -9 28040 bytes -724 bytes (-2.52%)
Zstandard (Wikipedia) zstd zstd -19 28557 bytes -207 bytes (-0.72%)

Detailled Analysis

I wrote a DEFLATE decoder in Javascript. Click the button below to start a client-side analysis of the smallest gzipped files (may take a second):


Notes: pigz is a fast open source multi-threaded implementation of gzip written by one of the original authors of gzip.
However, when using compression level 11, pigz actually switches to the slower Zopfli algorithm and isn't multi-threaded anymore.
KrzyMOD's extensions to Zopfli offer the highest level of configuration and is therefore used for my brute-force search.
Ken Silverman wrote the closed-source KZIP compression program and Jonathon Fowler ported it to Linux.
Defluff was created by Joachim Henke; DeflOpt is a tool by Ben Jos Walbeehm.

website made by Stephan Brumme in 2015 and still improving in 2024.
all timestamps are displayed in central european time. see my changelog.
no flash, not even images or external css files - and everything squeezed into a single html file.
which was handsomely compressed before releasing it into the wild internet - obviously.

please visit my homepage and my blog, too.
email: minime (at) stephan-brumme.com

All trademarks are property of their respective owners. You know, the boring legal stuff.