Douglas Crockford

Blog

Books

Videos

2020 Appearances

JavaScript

JSLint

JSON

Github

How JavaScript Works

About

Minify

Minify is the opposite of magnify. I learned the word minify from Alvy Ray Smith (one of the giants of the Lucasfilm Computer Division and cofounder of Pixar) in 1983. Minify meant to make an image smaller, to reduce it, to scale it down, to zoom out.

In 2001 I was writing web applications in JavaScript. The network was a lot slower then. I thought that our pages could start faster if we made the .js files smaller so that it took less time to push them across the wire. Remembering Alvy, I called the operation minification, and I named the first minifier program JSMin. It is still the fastest minifier, not that that matters.

There are now image minification tools that make image files smaller, but do not reduce the image. The makers of these tools took my example, unaware of prior conventions in computer graphics. So I have inadvertantly created a confusion. Image minification now has two different meanings. I am sorry about that.

jdb财神捕鱼单机版 北京快乐8陷阱 宁夏11选五规则 中国体彩海南飞鱼开奖结果 福建十一选五开奖结果查询结果 上证指数大盘 快乐10分20选8技巧 北京pk拾官网开奖 林园片仔癀4000万股 广西快乐十分开码网 七乐彩靠谱吗