3 ms·
Whilst SPDY is nice, the compression possible using SDCH is a game changer. Given the amount of disk space on machines it should be possible to send quite larg
by jgrahamc 15y ago
Whilst SPDY is nice, the compression possible using SDCH is a game changer. Given the amount of disk space on machines it should be possible to send quite large dictionaries to browsers.
For example, I've been experimenting with the Bentley/McIlroy compression algorithm and I can easily (no effort at all) compress the BBC News web site by 90% (i.e. to 10% of its original size).
- wmf 15y agoFor some reason SDCH gets no respect. Somebody could become a hero by writing an auto-SDCHing reverse proxy.
- gojomo 15y agoThe stuff that's big (rich media) already has its own native compression. The stuff that's relatively small (text) also already compresses pretty well without shared-dictonaries. I think that's the reason: it's not that big a win over the total traffic of a modern browsing session. For example, I doubt jgrahamc's experiment yields a 90% savings over the entire browsing session with BBC News, when getting images, and if gzip is already enabled on the HTML/CSS/JS. I'd guess closer to 10%. Updated after taking a quick look at BBC News homepage in Firebug's net panel: The BBC News homepage has about 150KB of HTML/CSS… but they haven't even bothered to turn on gzip, which might bring that down to 30KB. It has about 230KB of images, which wouldn't be helped by a shared dictionary. If they turned on gzip, text would be about 30/230=13% of the bandwidth. Even 99.99% compression – a dictionary of exactly today's content already on the client! – could only shrink the homepage download by 13%.
- evmar 15y agoMy impression from working on Chrome (but not near the network bits) is that while SDCH does have the potential for compression you mention, doing so requires tuning beyond what most organizations can do. And more importantly, total download size isn't as much in the critical path for performance as the latency and pipelining tricks SDPY does. You can see a recent mail from the SDCH master on this subject here: https://groups.google.com/group/SDCH/browse_thread/thread/7dc31ea728ca36ed https://groups.google.com/group/SDCH/browse_thread/thread/7d...