3 ms·
How is this faster if Amazon is acting like a proxy and acting another layer of redirection?
by Hisoka 15y ago
How is this faster if Amazon is acting like a proxy and acting another layer of redirection?
- r00fus 15y agoBy trimming all HTTP resource requests down to one SPDY request that hits a massive cached source on AWS, I can imagine it might be considerably faster.
- modeless 15y ago1. Running some JS on the server 2. Recompressing images 3. SPDY 4. Better compression than gzip 5. Giant server-side caches
- phzbOx 15y agoAlso, I suppose the renderer will be smart about rendering it to the right dimension.. so on the client side, there will be way less calculation. I.e. Instead of trying to figure out if the next div goes on the same row or the next one, that will already have been calculated by amazon servers.
- MaysonL 15y agoCaching and pre-rendering would be my guesses.
- dgreensp 15y agoBy far the biggest win is probably replacing dozens of TCP sockets with one streaming connection for loading content. After that, shrinking images, and maybe offloading some CPU (JS compilation, layout). The "browser cache" story is less clear to me. Caching is an imperfect science. Some resources can't be cached, or the server doesn't it make it clear they can. On the other hand, the most "popular" resources may already be served by CDNs with very low latency compared to your wireless connection. Plus, does the iPhone really suffer from a shortage of cache? A shortage of RAM, sure, which is why tabs are frequently evicted, but how much cache do you really need? Safari on my desktop only has 180 MB in cache, which my iPhone could easily store.