Choose a version:
26% The original file has 632084 bytes (617.3k) and is available from the project website.
There you can find the official minified version, too, which brings down the size to 164576 bytes (160.7k, 26%).

After GZIP compression these minified files vary in size:
gzip -6 (default)
  55472 bytes (54.2k)
local copy
gzip -9
  55408 bytes (54.1k)
local copy
libdeflate -12
  52748 bytes (51.5k)
local copy
7zip -mx=9 -tgzip
  52722 bytes (51.5k)
local copy
pigz -11 -n
  52691 bytes (51.5k)
local copy
kzip -s0 -rn -b1
  52674 bytes (51.4k)
local copy
Zopfli
  52584 bytes (51.4k)
local copy
Zopfli (defluff)
  52581 bytes (51.3k)
local copy

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

You will automatically get the smallest Dojo 1.10.5 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 --i1000000 --mb8 --mls32 --bsr11 --lazy --ohh

(found March 22, 2016)
Description Value Parameter
iterations 1000000  --i1000000
maximum blocks 8  --mb8
maximum length score 32  --mls32
block splitting recursion 11  --bsr11
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 3 more bytes (52581 bytes).

Verify file integrity

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

MD5:
curl --silent --compressed http://download.dojotoolkit.org/release-1.10.5/dojo.js --location | md5sum
6bf182ea8621f7da06adf1b3df6e3cdc  -
curl --silent --compressed http://minime.stephan-brumme.com/files/dojo/dojo-1.10.5.min.zopfli.js.gz | md5sum
6bf182ea8621f7da06adf1b3df6e3cdc  -

SHA1:
curl --silent --compressed http://download.dojotoolkit.org/release-1.10.5/dojo.js --location | sha1sum
315b9c3f37c0781763cff82159823e7aed4bcb0a  -
curl --silent --compressed http://minime.stephan-brumme.com/files/dojo/dojo-1.10.5.min.zopfli.js.gz | sha1sum
315b9c3f37c0781763cff82159823e7aed4bcb0a  -

Other Versions

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

1.12.2, 1.12.1,
1.11.4, 1.11.3, 1.11.2, 1.11.1, 1.11.0,
1.10.8, 1.10.7, 1.10.6, 1.10.5, 1.10.4, 1.10.3, 1.10.2, 1.10.1, 1.10.0,
1.9.11, 1.9.10, 1.9.9, 1.9.8, 1.9.7, 1.9.6, 1.9.5, 1.9.4, 1.9.3, 1.9.2, 1.9.1, 1.9.0,
1.8.12, 1.8.11, 1.8.10, 1.8.9, 1.8.8, 1.8.7, 1.8.6, 1.8.5, 1.8.4, 1.8.3, 1.8.2, 1.8.1, 1.8.0,
1.7.10, 1.7.9, 1.7.8, 1.7.7, 1.7.6, 1.7.5, 1.7.4, 1.7.3, 1.7.2, 1.7.1, 1.7.0,
1.6.3, 1.6.2, 1.6.1, 1.6.0,
1.5.4, 1.5.3, 1.5.2, 1.5.1, 1.5.0,
1.4.6, 1.4.5, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4.0,
1.3.3, 1.3.2, 1.3.1, 1.3.0,
1.2.3

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

Changelog

Best Zopfli parameters so far:
Size Improvement Parameters Found
52584 bytes -4 bytes zopfli --i1000000 --mls32 --bsr11 --lazy --ohh March 22, 2016 @ 19:44
52588 bytes -1 byte zopfli --i1000000 --mls16 --bsr15 --lazy --ohh March 22, 2016 @ 04:01
52589 bytes -1 byte zopfli --i100000 --mls16 --bsr15 --lazy --ohh March 21, 2016 @ 13:55
52590 bytes -1 byte zopfli --i100000 --mls8192 --bsr22 --lazy --ohh March 21, 2016 @ 12:22
52591 bytes -4 bytes zopfli --i10000 --mls8192 --bsr23 --lazy --ohh March 21, 2016 @ 10:51
52595 bytes -4 bytes zopfli --i10000 --mls512 --bsr22 --lazy --ohh March 21, 2016 @ 10:26
52599 bytes -2 bytes zopfli --i1000 --mls16 --bsr15 --lazy --ohh March 21, 2016 @ 10:16
52601 bytes -2 bytes zopfli --i1000 --mls64 --bsr23 --lazy --ohh March 21, 2016 @ 10:15
52603 bytes zopfli --i100 --mls2 --bsr11 --lazy --ohh March 21, 2016 @ 10:03

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

Most recent activity on June 16, 2016 @ 14:39.

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
52595 52596 52594 52596 52592 52592 52605 52604 52596 52611 52610 52599 52601 52607 52604
52592 52599 52594 52597 52595 52600 52599 52601 52600 52606 52601 52592 52606 52619 52604
52594 52595 52596 52597 52600 52611 52603 52607 52594 52607 52596 52609 52601 52603 52605
52592 52595 52594 52590 52632 52602 52593 52601 52601 52608 52603 52592 52598 52603 52614
52594 52593 52632 52592 52596 52588 52596 52593 52594 52604 52606 52609 52606 52604 52606
52593 52593 52594 52592 52594 52592 52594 52609 52595 52607 52598 52593 52606 52599 52612
52590 52598 52594 52592 52590 52592 52596 52593 52600 52603 52599 52593 52588 52612 52607
52595 52595 52595 52590 52584 52593 52607 52607 52605 52606 52602 52605 52602 52613 52606
52592 52595 52593 52592 52593 52595 52597 52597 52607 52607 52601 52593 52601 52617 52602
52594 52599 52593 52592 52590 52607 52599 52597 52604 52607 52601 52594 52603 52608 52606
52592 52594 52596 52594 52592 52593 52598 52596 52598 52606 52606 52596 52595 52608 52605
52589 52595 52594 52588 52598 52590 52593 52597 52602 52605 52604 52596 52602 52604 52608
52592 52597 52593 52596 52596 52592 52593 52610 52606 52609 52603 52601 52602 52607 52614
52594 52597 52593 52592 52592 52590 52594 52596 52596 52604 52605 52610 52601 52611 52608
52598 52597 52595 52593 52593 52603 52598 52609 52605 52606 52604 52600 52597 52618 52605
52592 52596 52594 52592 52584 52593 52600 52598 52602 52607 52596 52591 52603 52603 52607
52594 52595 52594 52596 52593 52592 52593 52592 52597 52607 52604 52595 52596 52607 52614
52593 52595 52593 52593 52598 52610 52598 52610 52592 52603 52603 52593 52592 52617 52609
52593 52594 52594 52596 52597 52608 52598 52597 52595 52606 52605 52591 52590 52599 52607
52597 52593 52593 52596 52593 52588 52608 52608 52601 52604 52601 52596 52590 52603 52606
52588 52598 52597 52592 52596 52592 52607 52608 52597 52602 52604 52594 52602 52610 52609
52588 52594 52588 52592 52597 52598 52593 52609 52609 52604 52606 52592 52593 52603 52615
52592 52593 52593 52588 52584 52588 52593 52608 52595 52604 52604 52596 52602 52603 52606

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 52603 bytes 100%
1,000 52599 bytes -4 bytes 100%
10,000 52591 bytes -8 bytes 100%
100,000 52589 bytes -2 bytes 6.96%
1,000,000 52584 bytes -5 bytes 3.77%
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
52736 bytes +152 bytes (+0.29%) +62 bytes
52674 bytes +90 bytes (+0.17%)
52703 bytes +119 bytes (+0.23%) +29 bytes
52727 bytes +143 bytes (+0.27%) +53 bytes
52730 bytes +146 bytes (+0.28%) +56 bytes
52761 bytes +177 bytes (+0.34%) +87 bytes
52805 bytes +221 bytes (+0.42%) +131 bytes
52839 bytes +255 bytes (+0.48%) +165 bytes
52854 bytes +270 bytes (+0.51%) +180 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 38743 bytes -13841 bytes (-26.32%)
RAR (proprietary) RAR rar a -m5 -md64m -mc63:128t -mt1 46196 bytes -6388 bytes (-12.15%)
PPMd (Wikipedia) 7zip 7za a -mx=9 -m0=ppmd 47111 bytes -5473 bytes (-10.41%)
Brotli (Wikipedia) brotli brotli -q 11 48636 bytes -3948 bytes (-7.51%)
LZMA2 (Wikipedia) xz xz -9 49632 bytes -2952 bytes (-5.61%)
ZSTD (Wikipedia) zstd zstd -19 51157 bytes -1427 bytes (-2.71%)
Burrows-Wheeler transform (Wikipedia) bzip2 bzip2 -9 51392 bytes -1192 bytes (-2.27%)

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