News for hackers. Stuff that matters.
Re:DynoSRC - Eliminate HTTP requests for JavaScript files by byroot on Thursday November 28, 2013 @08:51AM (#6814453)

    time curl http://code.jquery.com/jquery-2.0.3.js > /dev/null
    real	0m0.433s

    time curl http://code.jquery.com/jquery-2.0.3.min.js > /dev/null
    real	0m0.210s
Is it proved now ?

Edit: Off course I didn't ran these requests only once.

Re:DynoSRC - Eliminate HTTP requests for JavaScript files by bct on Thursday November 28, 2013 @09:06AM (#6814516)
The obvious next question is "can't you achieve the same thing with gzip":

    time curl http://code.jquery.com/jquery-2.0.3.js > /dev/null
    236k bytes
    real	0m0.432s

    time curl http://code.jquery.com/jquery-2.0.3.min.js > /dev/null
    83612 bytes
    real	0m0.323s

    time curl http://code.jquery.com/jquery-2.0.3.js --compressed > /dev/null
    87509 bytes
    real	0m0.273s

    time curl http://code.jquery.com/jquery-2.0.3.min.js --compressed > /dev/null
    34066 bytes
    real	0m0.215s
I think that people should be more skeptical of the complexity introduced by things like minification, but the advantages are pretty clear, even with compression.
Re:DynoSRC - Eliminate HTTP requests for JavaScript files by michaelmior on Thursday November 28, 2013 @09:10AM (#6814541)
This still doesn't show that actual site performance is improved. Also, gzip is not enabled on that server, so I think it's a less realistic scenario. I'm certainly being pedantic, but I've run into similar surprises before.