Use slimit instead of yui for Javascript compression

Bug #917375 reported by François Marier on 2012-01-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

We should look into using slimit instead of YUI compressor to minify our Javascript:

Apparently it compresses more:

François Marier (fmarier) wrote :

Debian request for package here:

Changed in libravatar:
importance: Low → Wishlist
tags: added: wheezy
removed: debian
description: updated
François Marier (fmarier) wrote :

While the slimit-compressed version of libravatar.js is marginally smaller:

-rw-r--r-- 1 francois francois 2120 jan 18 2016 libravatar.js
-rw-r--r-- 1 francois francois 896 mai 29 14:59 libravatar.js.js-yui
-rw-r--r-- 1 francois francois 876 mai 29 15:00 libravatar.js.js-slimit

The yui-compressed version of jcrop.js is much smaller:

-rw-r--r-- 1 francois francois 25936 jun 7 2014 jcrop.js
-rw-r--r-- 1 francois francois 12875 mai 29 14:59 jcrop.js.js-yui
-rw-r--r-- 1 francois francois 16997 mai 29 15:00 jcrop.js.js-slimit

Therefore let's stick with yui-compressor.

Changed in libravatar:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.