Choose a version:
31% The original file has 268934 bytes (262.6k) and is available from the project website.
There you can find the official minified version, too, which brings down the size to 82698 bytes (80.8k, 31%).

After GZIP compression these minified files vary in size:
cdnjs
  30258 bytes (29.5k)
CDN, direct link
gzip -6 (default)
  30075 bytes (29.4k)
local copy
unpkg
  30063 bytes (29.4k)
CDN, direct link
gzip -9
  30040 bytes (29.3k)
local copy
libdeflate -12
  29093 bytes (28.4k)
local copy
7zip -mx=9 -tgzip
  29060 bytes (28.4k)
local copy
kzip -s0 -rn -b1
  29050 bytes (28.4k)
local copy
pigz -11 -n
  29004 bytes (28.3k)
local copy
Zopfli
  28975 bytes (28.3k)
local copy

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

You will automatically get the smallest Vue 2.4.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

Save 1088 bytes by using my Vue 2.4.3 Zopfli version instead of the best available CDN (3.75% smaller than unpkg, 28975 vs. 30063 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 --mls8192 --bsr20 --lazy --ohh

(found September 13, 2017)
Description Value Parameter
iterations 1000000  --i1000000
maximum blocks 8  --mb8
maximum length score 8192  --mls8192
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

Verify file integrity

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

MD5:
curl --silent --compressed https://raw.githubusercontent.com/vuejs/vue/vue-2.4.3.min.js --location | md5sum
2e43cd25f08a6c39f8a83482a5893879  -
curl --silent --compressed http://minime.stephan-brumme.com/files/vue/vue-2.4.3.min.zopfli.js.gz | md5sum
2e43cd25f08a6c39f8a83482a5893879  -

SHA1:
curl --silent --compressed https://raw.githubusercontent.com/vuejs/vue/vue-2.4.3.min.js --location | sha1sum
a160b62eb2ef8ee6ef846e1c97186239b6260f21  -
curl --silent --compressed http://minime.stephan-brumme.com/files/vue/vue-2.4.3.min.zopfli.js.gz | sha1sum
a160b62eb2ef8ee6ef846e1c97186239b6260f21  -

All listed CDNs deliver identical contents:
CDN Size (compressed) MD5 (uncompressed) Timestamp
cdnjs 30258 bytes 2e43cd25f08a6c39f8a83482a5893879 (invalid)
unpkg 30063 bytes 2e43cd25f08a6c39f8a83482a5893879 (invalid)

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

Other Versions

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

2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4.0, 2.3.4, 2.3.3, 2.3.2, 2.3.1, 2.3.0, 2.2.6, 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0, 2.1.10, 2.1.9, 2.1.8, 2.1.7, 2.1.6, 2.1.5, 2.1.4, 2.1.3, 2.1.2, 2.1.1, 2.1.0, 2.0.8, 2.0.7, 2.0.6, 2.0.5, 2.0.4, 2.0.3, 2.0.2, 2.0.1, 2.0.0,
1.0.28, 1.0.27, 1.0.26, 1.0.25, 1.0.24, 1.0.23, 1.0.22, 1.0.21, 1.0.20, 1.0.19, 1.0.18, 1.0.17, 1.0.16, 1.0.15, 1.0.14, 1.0.13, 1.0.12, 1.0.11, 1.0.10, 1.0.9,
0.10.6, 0.10.5, 0.10.4, 0.10.3, 0.10.2, 0.10.1, 0.10.0,
0.9.3, 0.9.2, 0.9.1, 0.9.0

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

Changelog

Best Zopfli parameters so far:
Size Improvement Parameters Found
28975 bytes -1 byte zopfli --i1000000 --mls8192 --bsr20 --lazy --ohh September 13, 2017 @ 19:02
28976 bytes -1 byte zopfli --i100000 --mls8192 --bsr20 --lazy --ohh September 13, 2017 @ 15:12
28977 bytes -3 bytes zopfli --i100000 --mls8192 --bsr18 --lazy --ohh September 13, 2017 @ 14:15
28980 bytes -1 byte zopfli --i10000 --mls8192 --bsr18 --lazy --ohh September 13, 2017 @ 13:54
28981 bytes -1 byte zopfli --i1000 --mls8192 --bsr18 --lazy --ohh September 13, 2017 @ 13:45
28982 bytes -2 bytes zopfli --i1000 --mls8192 --bsr15 --lazy --ohh September 13, 2017 @ 13:45
28984 bytes -3 bytes zopfli --i1000 --mls8192 --bsr19 --lazy --ohh September 13, 2017 @ 13:45
28987 bytes zopfli --i100 --mls8192 --bsr10 --lazy --ohh September 13, 2017 @ 13:32

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

Most recent activity on September 13, 2017 @ 21: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
29011 29011 29012 29008 29010 29009 29009 29008 29012 28996 28988 29000 29000 29000 28986
28987 29010 28998 29009 29008 29002 29001 29010 29005 29005 29015 28998 28987 28997 28994
29010 29011 29014 29011 29011 29013 29009 29011 29002 29013 28991 28983 28985 28998 28992
28997 29011 29000 29004 28995 28998 28997 28983 28991 28989 28991 28984 28978 29000 28986
28996 29008 28997 28992 29012 28987 28989 29010 29010 28988 29011 28987 28988 28998 28987
29009 29010 28997 29012 29010 28996 29012 29005 29003 28988 28988 28986 28978 28986 28988
28999 29012 28996 28997 28994 28993 29009 29010 28988 28988 28989 28987 28979 29000 28988
28993 28991 28993 28988 28989 29011 29009 29010 28984 28991 28989 28987 28985 28996 28987
28996 29010 28988 28989 29013 28991 28993 29011 29009 28986 28988 28988 28988 28984 28988
28995 29010 28995 28992 29010 28992 28993 29011 28986 28988 28991 28988 28987 29000 28987
29013 28989 29012 28989 28996 28991 28994 29011 28983 28985 29004 28988 28988 28996 28984
28997 29011 29000 28998 28997 28992 29009 29011 29002 28989 29004 28983 28975 28984 28988
28997 28997 28998 28989 28993 28992 28991 29011 28987 28989 28987 28987 28989 28985 28988
28997 29008 28999 28993 28991 28992 28989 28988 28988 28989 28987 28987 28988 28996 28991
29013 28993 28999 28990 28987 28993 28992 29010 28983 28991 28987 28988 28977 28996 28996
29016 29010 29015 29010 29010 28992 28992 29010 28987 28988 28992 28988 28978 28985 28993
28996 29008 28996 28990 28995 28991 29004 29005 29009 29000 29008 28999 28975 28996 28991
28996 29011 28994 28987 29010 28990 28991 28988 28984 28986 28988 28987 28978 28997 28988
28995 28993 28996 28989 28991 28992 28991 29010 28983 28989 29003 28988 28990 28997 28988
28988 28994 28994 28990 28992 28990 28993 28988 28988 28991 28987 28986 28988 28997 28995
29013 28993 28996 28988 29009 29000 29010 29011 29002 28990 28988 28988 28984 28997 28991
29009 28993 29015 28989 29010 29009 29009 29013 28984 28989 28988 28988 28988 28985 28991
28996 29011 28993 28991 29009 29000 29010 29011 28983 28988 28987 28984 28987 28985 28993

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 28987 bytes 100%
1,000 28981 bytes -6 bytes 100%
10,000 28980 bytes -1 byte 100%
100,000 28976 bytes -4 bytes 2.32%
1,000,000 28975 bytes -1 byte 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
29050 bytes +75 bytes (+0.26%)
29050 bytes +75 bytes (+0.26%)
29071 bytes +96 bytes (+0.33%) +21 bytes
29064 bytes +89 bytes (+0.31%) +14 bytes
29065 bytes +90 bytes (+0.31%) +15 bytes
29083 bytes +108 bytes (+0.37%) +33 bytes
29118 bytes +143 bytes (+0.49%) +68 bytes
29144 bytes +169 bytes (+0.58%) +94 bytes
29148 bytes +173 bytes (+0.60%) +98 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 23919 bytes -5056 bytes (-17.45%)
RAR (proprietary) RAR rar a -m5 -md64m -mc63:128t -mt1 24537 bytes -4438 bytes (-15.32%)
PPMd (Wikipedia) 7zip 7za a -mx=9 -m0=ppmd 25514 bytes -3461 bytes (-11.94%)
Brotli (Wikipedia) brotli brotli -q 11 26917 bytes -2058 bytes (-7.10%)
Burrows-Wheeler transform (Wikipedia) bzip2 bzip2 -9 27556 bytes -1419 bytes (-4.90%)
LZMA2 (Wikipedia) xz xz -9 27672 bytes -1303 bytes (-4.50%)
ZSTD (Wikipedia) zstd zstd -19 28420 bytes -555 bytes (-1.92%)

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