Echo JS 0.11.0

<~>
tracker1 1 day ago. link 1 point
A better subject would probably be compression, and even pre-compression.  Especially with zopfli (gunzip compatible) and resource hashed names.

Along similar lines, setting appropriate headers in s3 and similar so that the gzip is mentioned in the content header, since pretty much every browser supports this, and anyone not using a browser should be able to figure it out.

Yes, minification helps, but compression is almost as big of a boost on top of that, and well worth it.

Beyond this, are going to be png palette quantization and compression for image resources.  If your images really only have a couple of color variations, getting down to 16-32 colors (or even just under 256) can help a lot in terms of png compression.  Don't use png for photos other than text scans.  You'll often get down to around 1/5 or so of the original size between quantization and max zopfli compression (gzip variant).

Across a project I'm working on that includes scanned images, this leads to massive storage and transmission savings for the application itself.

Above all else.. read some of the Sauders books on web performance... most of it still holds, but above all else, test, test, test and confirm.

Replies