News for hackers. Stuff that matters.
Re:The bugfix that could make the Internet 5% faster by elliottcarlson on Thursday January 12, 2012 @11:48AM (#3456952)
Forgive me if I am missing something, but wouldn't moving the cookies to localstorage still require an additional call to be made to send the data to the server in the end - not to mention the additional javascript required to handle the localstorage management and ajax calls?
Re:The bugfix that could make the Internet 5% faster by dudus on Thursday January 12, 2012 @11:55AM (#3456985)
The idea is just to get rid of the extra overhead on the HTTP request, because that overhead will be multiplied by the requests you do. Any extra code on ga.js is cached and doesn't incur in too much overhead.
Re:The bugfix that could make the Internet 5% faster by elliottcarlson on Thursday January 12, 2012 @12:09PM (#3457042)
But you would still have an additional HTTP request that would be sending the same information + headers for another call - in the end it would be the same performance wise as if you were DEFERing the request, but you wouldn't be saving any overhead on data passing around.