working on the dlang.org website

Martin Nowak code at dawg.eu
Mon Jul 22 08:40:47 PDT 2013


On 07/14/2013 05:19 AM, Val Markovic wrote:
>  2. Looking at the Network data in the Chrome DevTools, realize the site
>     isn't using a CDN. Make a note of mentioning this to the site
>     maintainers; using a CDN is critical to performance and ever since
>     CloudFlare came on the scene (fast & free CDN that's also trivial to
>     set up) there's no excuse not to use one.
Yes, I get 40kB/s download rate and it takes 4s to load an uncompressed 
HTML file.
Compressing http://dlang.org/phobos/std_algorithm.html could save 
139.9KiB (82% reduction).

>  4. Record a JavaScript profile of the site with the DevTools JS
>     profiler and the new Flame view. With this information and the
>     Timeline profile, realize that hypenate.js is probably the culprit
>     of the content flash bug. Still have to verify this, it might be
>     something else.
I takes more than 1s to run and is the dominating time waster.
https://github.com/D-Programming-Language/dlang.org/pull/352



More information about the Digitalmars-d mailing list