Choose a version:
26% The original file has 632154 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 165171 bytes (161.3k, 26%).

After GZIP compression these minified files vary in size:
gzip -6 (default)
  55743 bytes (54.4k)
local copy
gzip -9
  55690 bytes (54.4k)
local copy
libdeflate -12
  53053 bytes (51.8k)
local copy
7zip -mx=9 -tgzip
  52999 bytes (51.8k)
local copy
pigz -11 -n
  52961 bytes (51.7k)
local copy
kzip -s0 -rn -b1
  52951 bytes (51.7k)
local copy
Zopfli
  52863 bytes (51.6k)
local copy
Zopfli (defluff)
  52859 bytes (51.6k)
local copy

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

You will automatically get the smallest Dojo 1.11.3 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 --mls64 --bsr16 --lazy --ohh

(found December 19, 2016)
Description Value Parameter
iterations 100000  --i100000
maximum blocks 8  --mb8
maximum length score 64  --mls64
block splitting recursion 16  --bsr16
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 4 more bytes (52859 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.11.3/dojo.js --location | md5sum
6a262e1fb14e612907eaa4ba5a0e9ebd  -
curl --silent --compressed http://minime.stephan-brumme.com/files/dojo/dojo-1.11.3.min.zopfli.js.gz | md5sum
6a262e1fb14e612907eaa4ba5a0e9ebd  -

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

Other Versions

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

1.13.0,
1.12.3, 1.12.2, 1.12.1,
1.11.5, 1.11.4, 1.11.3, 1.11.2, 1.11.1, 1.11.0,
1.10.9, 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
52863 bytes -1 byte zopfli --i100000 --mls64 --bsr16 --lazy --ohh December 19, 2016 @ 09:53
52864 bytes -1 byte zopfli --i100000 --mls64 --bsr15 --lazy --ohh December 19, 2016 @ 01:26
52865 bytes -3 bytes zopfli --i100000 --mls32 --bsr21 --lazy --ohh December 19, 2016 @ 00:41
52868 bytes -1 byte zopfli --i10000 --mls64 --bsr15 --lazy --ohh December 19, 2016 @ 00:27
52869 bytes -8 bytes zopfli --i10000 --mls32 --bsr21 --lazy --ohh December 18, 2016 @ 22:49
52877 bytes -1 byte zopfli --i1000 --mls16 --bsr16 --lazy --ohh December 18, 2016 @ 22:37
52878 bytes -4 bytes zopfli --i1000 --mls128 --bsr23 --lazy --ohh December 18, 2016 @ 22:34
52882 bytes zopfli --i100 --mls128 --bsr23 --lazy --ohh December 18, 2016 @ 22:26

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

Most recent activity on January 25, 2017 @ 15:26.

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
52871 52872 52874 52876 52875 52871 52873 52882 52878 52880 52900 52877 52882 52900 52894
52904 52874 52873 52879 52873 52873 52875 52875 52876 52879 52876 52878 52881 52880 52884
52875 52873 52873 52874 52887 52885 52888 52880 52884 52882 52873 52877 52878 52878 52891
52893 52872 52902 52871 52885 52877 52875 52872 52878 52881 52873 52878 52875 52878 52887
52896 52875 52873 52870 52871 52885 52874 52875 52882 52882 52874 52881 52880 52880 52878
52892 52898 52873 52872 52870 52873 52870 52873 52889 52881 52878 52879 52880 52878 52886
52874 52903 52902 52868 52872 52871 52875 52872 52880 52882 52873 52880 52879 52879 52886
52873 52875 52902 52875 52865 52871 52874 52883 52877 52881 52880 52881 52879 52878 52897
52897 52900 52902 52902 52873 52871 52875 52874 52880 52882 52873 52880 52878 52876 52886
52903 52902 52904 52873 52865 52886 52874 52872 52878 52881 52876 52880 52879 52885 52883
52868 52899 52898 52864 52872 52871 52875 52874 52877 52880 52874 52874 52879 52885 52886
52903 52901 52903 52905 52870 52864 52874 52872 52877 52880 52876 52875 52878 52877 52887
52899 52899 52873 52870 52870 52863 52873 52872 52885 52882 52878 52877 52883 52878 52883
52903 52903 52874 52872 52870 52874 52873 52875 52877 52881 52874 52881 52878 52884 52884
52873 52903 52873 52873 52870 52875 52870 52875 52881 52880 52881 52877 52883 52878 52884
52872 52903 52872 52874 52870 52873 52873 52875 52878 52881 52879 52877 52880 52878 52886
52872 52902 52874 52870 52865 52873 52873 52882 52879 52881 52877 52877 52879 52885 52885
52899 52873 52872 52871 52865 52874 52871 52876 52880 52880 52878 52880 52878 52877 52891
52902 52903 52901 52873 52872 52870 52874 52872 52877 52882 52877 52877 52880 52878 52885
52872 52902 52874 52872 52870 52871 52871 52873 52878 52880 52877 52873 52879 52878 52884
52900 52874 52901 52870 52874 52870 52872 52871 52879 52880 52882 52882 52881 52877 52883
52898 52875 52903 52871 52870 52863 52875 52875 52877 52884 52875 52878 52878 52886 52884
52904 52902 52873 52870 52875 52871 52874 52872 52878 52880 52876 52877 52878 52884 52879

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 52882 bytes 100%
1,000 52877 bytes -5 bytes 100%
10,000 52868 bytes -9 bytes 100%
100,000 52863 bytes -5 bytes 2.90%
1,000,000 52863 bytes 0.58%
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
53038 bytes +175 bytes (+0.33%) +87 bytes
52951 bytes +88 bytes (+0.17%)
52961 bytes +98 bytes (+0.19%) +10 bytes
52999 bytes +136 bytes (+0.26%) +48 bytes
53040 bytes +177 bytes (+0.33%) +89 bytes
53065 bytes +202 bytes (+0.38%) +114 bytes
53091 bytes +228 bytes (+0.43%) +140 bytes
53143 bytes +280 bytes (+0.53%) +192 bytes
53144 bytes +281 bytes (+0.53%) +193 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 38920 bytes -13943 bytes (-26.38%)
RAR (proprietary) RAR rar a -m5 -md64m -mc63:128t -mt1 46415 bytes -6448 bytes (-12.20%)
PPMd (Wikipedia) 7zip 7za a -mx=9 -m0=ppmd 47275 bytes -5588 bytes (-10.57%)
Brotli (Wikipedia) brotli brotli -q 11 48825 bytes -4038 bytes (-7.64%)
LZMA2 (Wikipedia) xz xz -9 49904 bytes -2959 bytes (-5.60%)
ZSTD (Wikipedia) zstd zstd -19 51386 bytes -1477 bytes (-2.79%)
Burrows-Wheeler transform (Wikipedia) bzip2 bzip2 -9 51559 bytes -1304 bytes (-2.47%)

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