4 ms·
The speed of the request is probably not linear with the size either. At 700-800 bytes for an average HTTP request you are below the single packet size. Given
by aquark 15y ago
The speed of the request is probably not linear with the size either.
At 700-800 bytes for an average HTTP request you are below the single packet size. Given the overhead of processing the packet the extra bytes are pretty cheap: a 1 byte packet is not going to be 1000% faster than a 1K packet.
Now, if the cookie pushed the average request size over the packet boundary then the cost would be huge.
- mmmooo 15y agoExactly, and even if it was 5%, which by no means it is, what % of time is the request vs response. Sounds like this a solution to a non-problem.
- jqueryin 15y agoWe must also consider the relative cost of google implementing fully cross-browser compatible localStorage code into ga.js, with fallbacks on cookies. They're likely going to want to put the burden on the client than on their own personal bandwidth.