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

After GZIP compression these minified files vary in size:
Microsoft
  38405 bytes (37.5k)
CDN
Boot
  34918 bytes (34.1k)
CDN
cdnjs
  30129 bytes (29.4k)
CDN
gzip -6 (default)
  29942 bytes (29.2k)
local copy
cdnhttps
  29937 bytes (29.2k)
CDN
unpkg
  29937 bytes (29.2k)
CDN
gzip -9
  29900 bytes (29.2k)
local copy
Google
  29892 bytes (29.2k)
CDN
jsdelivr
  29887 bytes (29.2k)
CDN
7zip -mx=9 -tgzip
  28937 bytes (28.3k)
local copy
libdeflate -12
  28870 bytes (28.2k)
local copy
Yandex
  28867 bytes (28.2k)
CDN
pigz -11 -n
  28862 bytes (28.2k)
local copy
kzip -s0 -rn -b2
  28846 bytes (28.2k)
local copy
Zopfli
  28826 bytes (28.2k)
local copy
Zopfli (defluff)
  28825 bytes (28.1k)
local copy

perma-link to the smallest file on my server:
http://minime.stephan-brumme.com/files/jquery/jquery-2.2.2.min.js

You will automatically get the smallest jQuery 2.2.2 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 41 bytes by using my jQuery 2.2.2 Zopfli version instead of the best available CDN (0.14% smaller than Yandex, 28826 vs. 28867 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 --i10000000 --mb8 --mls128 --bsr14 --lazy --ohh

(found March 21, 2016)
Description Value Parameter
iterations 10000000  --i10000000
maximum blocks 8  --mb8
maximum length score 128  --mls128
block splitting recursion 14  --bsr14
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 (28825 bytes).

Verify file integrity

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

MD5:
curl --silent --compressed http://code.jquery.com/jquery-2.2.2.min.js --location | md5sum
1d35678c5edbb639ab7aa5cce0856f57  -
curl --silent --compressed http://minime.stephan-brumme.com/files/jquery/jquery-2.2.2.min.zopfli.js.gz | md5sum
1d35678c5edbb639ab7aa5cce0856f57  -

SHA1:
curl --silent --compressed http://code.jquery.com/jquery-2.2.2.min.js --location | sha1sum
3b0f35285a7088b1fd321773696f9d3b45d31942  -
curl --silent --compressed http://minime.stephan-brumme.com/files/jquery/jquery-2.2.2.min.zopfli.js.gz | sha1sum
3b0f35285a7088b1fd321773696f9d3b45d31942  -

All listed CDNs deliver identical contents:
CDN Size (compressed) MD5 (uncompressed) Timestamp
Microsoft 38405 bytes 1d35678c5edbb639ab7aa5cce0856f57 March 28, 2016 @ 21:43
Boot 34918 bytes 1d35678c5edbb639ab7aa5cce0856f57 May 4, 2016 @ 09:17
cdnjs 30129 bytes 1d35678c5edbb639ab7aa5cce0856f57 March 18, 2016 @ 08:31
cdnhttps 29937 bytes 1d35678c5edbb639ab7aa5cce0856f57 November 24, 2016 @ 16:42
unpkg 29937 bytes 1d35678c5edbb639ab7aa5cce0856f57 July 11, 2016 @ 15:38
Google 29892 bytes 1d35678c5edbb639ab7aa5cce0856f57 March 18, 2016 @ 22:26
jsdelivr 29887 bytes 1d35678c5edbb639ab7aa5cce0856f57 March 17, 2016 @ 22:07
Yandex 28867 bytes 1d35678c5edbb639ab7aa5cce0856f57 (invalid)

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

Other Versions

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

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
28826 bytes -2 bytes zopfli --i10000000 --mls128 --bsr14 --lazy --ohh March 21, 2016 @ 05:12
28828 bytes -1 byte zopfli --i100000 --mls128 --bsr14 --lazy --ohh March 19, 2016 @ 06:24
28829 bytes -1 byte zopfli --i10000 --mls8 --bsr30 --lazy --ohh March 18, 2016 @ 13:09
28830 bytes -4 bytes zopfli --i10000 --mls8 --bsr21 --lazy --ohh March 18, 2016 @ 12:02
28834 bytes -3 bytes zopfli --i1000 --mls8 --bsr21 --lazy --ohh March 18, 2016 @ 11:57
28837 bytes zopfli --i100 --mls8 --bsr21 --lazy --ohh March 18, 2016 @ 11:46

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

Most recent activity on November 24, 2016 @ 16:42.

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, 1,000,000 or 10,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
28837 28838 28837 28837 28838 28839 28841 28840 28837 28839 28843 28843 28838 28844 28848
28837 28845 28845 28844 28834 28834 28845 28844 28843 28844 28839 28839 28837 28838 28843
28843 28840 28830 28839 28839 28842 28842 28843 28841 28843 28836 28838 28838 28837 28839
28843 28844 28850 28852 28844 28844 28842 28842 28844 28842 28838 28838 28837 28837 28841
28843 28830 28843 28838 28843 28844 28842 28840 28839 28842 28835 28838 28837 28837 28833
28835 28834 28843 28843 28836 28857 28843 28843 28839 28844 28835 28837 28837 28838 28841
28834 28843 28850 28851 28842 28856 28842 28842 28842 28843 28835 28837 28838 28838 28836
28843 28843 28837 28843 28834 28848 28844 28841 28842 28838 28832 28838 28838 28837 28835
28833 28843 28837 28843 28843 28859 28844 28843 28841 28842 28838 28837 28837 28838 28836
28834 28841 28837 28841 28843 28857 28842 28843 28841 28843 28832 28838 28838 28837 28835
28844 28842 28836 28843 28839 28835 28826 28836 28839 28842 28837 28837 28837 28837 28835
28843 28843 28830 28851 28843 28844 28842 28843 28843 28843 28837 28838 28838 28837 28842
28834 28833 28836 28851 28846 28855 28843 28842 28842 28843 28837 28837 28836 28837 28835
28840 28842 28840 28844 28840 28858 28842 28842 28842 28843 28837 28838 28838 28838 28835
28840 28840 28828 28850 28844 28832 28842 28834 28841 28843 28832 28838 28836 28837 28838
28843 28848 28833 28851 28843 28856 28843 28843 28844 28843 28838 28838 28838 28838 28834
28840 28840 28830 28851 28844 28835 28844 28842 28841 28843 28839 28837 28838 28837 28835
28827 28830 28827 28851 28848 28843 28843 28844 28844 28843 28837 28838 28837 28837 28835
28841 28842 28830 28851 28843 28839 28842 28843 28840 28843 28833 28838 28837 28838 28834
28840 28842 28840 28852 28843 28856 28842 28833 28841 28843 28835 28838 28837 28838 28836
28840 28842 28841 28851 28844 28833 28843 28843 28839 28838 28832 28838 28837 28837 28835
28833 28835 28828 28852 28842 28859 28842 28842 28841 28838 28832 28837 28838 28837 28835
28833 28843 28836 28833 28849 28857 28842 28843 28841 28843 28835 28837 28836 28837 28837

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 28837 bytes 100%
1,000 28833 bytes -4 bytes 100%
10,000 28829 bytes -4 bytes 100%
100,000 28828 bytes -1 byte 3.19%
1,000,000 28827 bytes -1 byte 1.45%
10,000,000 28826 bytes -1 byte 0.87%

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
28944 bytes +118 bytes (+0.41%) +98 bytes
28942 bytes +116 bytes (+0.40%) +96 bytes
28846 bytes +20 bytes (+0.07%)
28854 bytes +28 bytes (+0.10%) +8 bytes
28869 bytes +43 bytes (+0.15%) +23 bytes
28900 bytes +74 bytes (+0.26%) +54 bytes
28935 bytes +109 bytes (+0.38%) +89 bytes
28981 bytes +155 bytes (+0.54%) +135 bytes
29011 bytes +185 bytes (+0.64%) +165 bytes

Non-DEFLATE Algorithms

Archivers based on completely different compression algorithms often produce superior results.
Unfortunately, browsers only support gzip compression at the moment.
Algorithm Program Parameters Size Compared To Best Zopfli
ZPAQ (Wikipedia) zpaq zpaq -method 69 23957 bytes -4869 bytes (-16.89%)
RAR (proprietary) RAR rar a -m5 -md64m -mc63:128t -mt1 24458 bytes -4368 bytes (-15.15%)
PPMd (Wikipedia) 7zip 7za a -mx=9 -m0=ppmd 25912 bytes -2914 bytes (-10.11%)
Brotli (Wikipedia) brotli brotli -q 11 27013 bytes -1813 bytes (-6.29%)
Burrows-Wheeler transform (Wikipedia) bzip2 bzip2 -9 27311 bytes -1515 bytes (-5.26%)
LZMA2 (Wikipedia) xz xz -9 28092 bytes -734 bytes (-2.55%)
ZSTD (Wikipedia) zstd zstd -19 28621 bytes -205 bytes (-0.71%)

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 2018.
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