Choose a version:
36% The original file has 59291 bytes (57.9k) and is available from the project website.
There you can find the official minified version, too, which brings down the size to 21235 bytes (20.7k, 36%).

After GZIP compression these minified files vary in size:
gzip -6 (default)
  10965 bytes (10.7k)
local copy
gzip -9
  10963 bytes (10.7k)
local copy
libdeflate -12
  10717 bytes (10.5k)
local copy
7zip -mx=9 -tgzip
  10598 bytes (10.3k)
local copy
zultra
  10565 bytes (10.3k)
local copy
kzip -s0 -rn -b0
  10527 bytes (10.3k)
local copy
pigz -11 -n
  10513 bytes (10.3k)
local copy
Zopfli
  10499 bytes (10.3k)
local copy
Zopfli (defluff)
  10498 bytes (10.3k)
local copy

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

You will automatically get the smallest jQuery 1.1.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

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 --i100000 --mb8 --mls32 --bsr12 --lazy --ohh

(found January 4, 2016)
Description Value Parameter
iterations 100000  --i100000
maximum blocks 8  --mb8
maximum length score 32  --mls32
block splitting recursion 12  --bsr12
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 (10498 bytes).

Verify file integrity

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

MD5:
curl --silent --compressed https://code.jquery.com/jquery-1.1.2.pack.js --location | md5sum
9c1829e9d1862350155f551d27cde34f  -
curl --silent --compressed https://minime.stephan-brumme.com/files/jquery/jquery-1.1.2.pack.zopfli.js.gz | md5sum
9c1829e9d1862350155f551d27cde34f  -

SHA1:
curl --silent --compressed https://code.jquery.com/jquery-1.1.2.pack.js --location | sha1sum
07c089df7b7a5da16f434870087d6b0e1c45d3b5  -
curl --silent --compressed https://minime.stephan-brumme.com/files/jquery/jquery-1.1.2.pack.zopfli.js.gz | sha1sum
07c089df7b7a5da16f434870087d6b0e1c45d3b5  -

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
10499 bytes -1 byte zopfli --i100000 --mls32 --bsr12 --lazy --ohh January 4, 2016 @ 18:15
10500 bytes -1 byte zopfli --i10000 --mls32 --bsr12 --lazy --ohh November 23, 2015 @ 08:26
10501 bytes -1 byte zopfli --i1000 --mls32 --bsr12 --lazy --ohh September 20, 2015 @ 13:45
10502 bytes -1 byte zopfli --i1000 --mls32 --bsr11 --lazy --ohh September 20, 2015 @ 13:35
10503 bytes -1 byte zopfli --i1000 --mls16384 --bsr10 --lazy --ohh September 16, 2015 @ 18:23
10504 bytes -2 bytes zopfli --i1000 --mls64 --bsr16 --lazy --ohh September 16, 2015 @ 18:16
10506 bytes zopfli --i100 --mls64 --bsr7 --lazy --ohh September 11, 2015 @ 16:37

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:51.

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 or 100,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
10543 10544 10547 10544 10550 10545 10537 10539 10542 10542 10548 10574 10547 10564 10539
10533 10524 10538 10539 10532 10544 10543 10523 10510 10520 10531 10521 10514 10509 10521
10502 10504 10511 10504 10503 10507 10501 10513 10506 10506 10511 10512 10509 10502 10502
10504 10511 10516 10503 10503 10502 10504 10507 10510 10504 10505 10517 10518 10511 10520
10504 10508 10515 10513 10505 10505 10504 10502 10506 10506 10512 10510 10509 10502 10512
10506 10509 10504 10503 10523 10503 10501 10505 10509 10505 10505 10522 10517 10512 10519
10504 10509 10513 10514 10504 10504 10506 10506 10506 10507 10506 10514 10503 10501 10510
10504 10503 10502 10511 10499 10505 10502 10511 10510 10505 10507 10510 10504 10511 10520
10506 10508 10505 10507 10499 10506 10511 10506 10506 10505 10510 10511 10503 10504 10515
10507 10504 10515 10510 10499 10503 10506 10515 10510 10505 10506 10507 10509 10504 10513
10505 10510 10514 10507 10504 10501 10507 10515 10510 10505 10510 10508 10508 10508 10513
10501 10509 10512 10509 10506 10506 10506 10507 10511 10505 10506 10511 10506 10521 10521
10505 10504 10506 10511 10502 10501 10503 10506 10508 10504 10511 10504 10510 10516 10513
10501 10505 10503 10509 10504 10506 10507 10507 10507 10505 10507 10512 10514 10515 10515
10503 10510 10503 10504 10502 10507 10501 10503 10510 10506 10507 10510 10511 10504 10516
10507 10503 10502 10504 10502 10504 10507 10505 10516 10507 10506 10515 10511 10502 10511
10505 10509 10508 10506 10503 10502 10502 10501 10510 10510 10509 10514 10507 10520 10519
10502 10509 10513 10506 10511 10506 10502 10505 10507 10505 10505 10511 10507 10504 10514
10505 10504 10503 10508 10501 10502 10503 10504 10511 10506 10506 10517 10511 10514 10513
10519 10510 10513 10507 10511 10506 10515 10504 10506 10505 10506 10512 10512 10520 10520
10499 10507 10504 10505 10503 10507 10510 10507 10510 10507 10509 10511 10509 10511 10513
10508 10506 10508 10507 10508 10502 10507 10502 10505 10504 10509 10507 10513 10519 10520
10509 10505 10508 10503 10509 10507 10508 10509 10508 10505 10510 10506 10501 10516 10516

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 10505 bytes 100%
1,000 10501 bytes -4 bytes 100%
10,000 10500 bytes -1 byte 100%
100,000 10499 bytes -1 byte 1.74%
1,000,000
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
10527 bytes +28 bytes (+0.27%)
10710 bytes +211 bytes (+2.01%) +183 bytes
10527 bytes +28 bytes (+0.27%)
10529 bytes +30 bytes (+0.29%) +2 bytes
10543 bytes +44 bytes (+0.42%) +16 bytes
10542 bytes +43 bytes (+0.41%) +15 bytes
10571 bytes +72 bytes (+0.69%) +44 bytes
10609 bytes +110 bytes (+1.05%) +82 bytes
10645 bytes +146 bytes (+1.39%) +118 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
Brotli (Wikipedia) brotli brotli -q 11 9732 bytes -767 bytes (-7.31%)
RAR (proprietary) RAR rar a -m5 -md64m -mc63:128t -mt1 10085 bytes -414 bytes (-3.94%)
PPMd (Wikipedia) 7zip 7za a -mx=9 -m0=ppmd 10163 bytes -336 bytes (-3.20%)
ZPAQ (Wikipedia) zpaq zpaq -method 69 10238 bytes -261 bytes (-2.49%)
LZMA2 (Wikipedia) xz xz -9 10340 bytes -159 bytes (-1.51%)
Zstandard (Wikipedia) zstd zstd -19 10693 bytes +194 bytes (+1.85%)
Burrows-Wheeler transform (Wikipedia) bzip2 bzip2 -9 10999 bytes +500 bytes (+4.76%)

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.