minifying the website

Brad Anderson eco at gnuk.net
Fri May 31 10:17:47 PDT 2013


On Friday, 31 May 2013 at 17:12:11 UTC, Andrei Alexandrescu wrote:
> Hello,
>
>
> I've been looking through the logs and it looks like the top 
> files in bytes transferred yesterday (even with the deluge of 
> downloads) were a number of Javascript, HTML, and CSS files.
>
> There are programs to reduce the size of such files called 
> "minifiers". Should we use some? If so, what would the experts 
> recommend? We'd need ideally some command line utility that we 
> can deploy easily and integrate with the build process. 
> Alternatively, an online service could fit the bill, too.
>
>
> Thanks for your insights,
>
> Andrei

mod_pagespeed can do all this and more on the server 
automatically.

https://developers.google.com/speed/pagespeed/mod

The filters it can apply: 
https://developers.google.com/speed/pagespeed/module/config_filters


More information about the Digitalmars-d mailing list