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.

I may be in the minority in this, but I would prefer if some of that were just removed entirely.

In particular, the code-running doohickey that doesn't even work needs to die for the pathological behaviour it gives on Firefox. For example http://dlang.org/phobos/std_algorithm.html hung my browser for almost twenty seconds with a blank coloured background. This is on an i5 at work and my i7 at home, with or without extensions. I can't even imagine how my old laptop would cope. To add insult to injury, it displayed the page without the JS for almost a second before disappearing.

I'm fine with some light JS that makes the documentation more usable or useful; this makes it practically unusable unless I have access to NoScript.

Reply via email to