Quoting Antoine Beaupré (2014-01-30 16:34:47)
> On 2014-01-30 09:29:08, Jonas Smedegaard wrote:
> > runtime pkgsize bloat: 0
>
> Thanks for those measurements Jonas!!
>
>> If you insist on uglifying at runtime, then I still recommend 
>> compacting CSS at build time (300 bytes win is silly when using 
>> jQuery bloat!).
>> 
>> If you insist on uglifying _CSS_ at runtime, then I still recommend 
>> using ruby-sass, and switch to sassc later (see bug#694733,694730).
>
> I don't insist at all, in fact I don't understand why we would 
> compress CSS at runtime at all.

Ok.


> For JS it makes sense because of section 4.13 (convenience copies), but
> the CSS is native...

Not sure I understand you here.  Debian do not allow redistribution of 
upstream-compressed JavaScript, but that does not force you to compress 
at runtime: distributing buildtime-complressed JavaScript is fine to 
distribute in Debian.

Same is in principle true for CSS (and HMTL etc.) but less strongly 
enforced (because such declarative code is more likely to be still 
readable).


> We could *suggest* an uglifier of some sort (and the jury's still out on
> that I guess) but I strongly feel we should compress at build time.

I don't understand what you are saying here.  Are you distinguishing 
between "uglify" and "compress", about JavaScript and CSS, or only about 
buildtime and runtime?!?


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to