SDCH: Shared Dictionary Compression over HTTP
July 27, 2009
Here’s something new in HTTP land to play with: Shared Dictionary Compression over HTTP (SDCH, apparently pronounced “sandwich”) is a new HTTP 1.1 extension announced by Wei-Hsin Lee of Google last September. Lee explains that with it “a user agent obtains a site-specific dictionary that then allows pages on the site that have many common elements to be transmitted much more quickly.” SDCH is applied before gzip or deflate compression, and Lee notes 40% better compression than gzip alone in their tests. Access to the dictionaries stored in the client is scoped by site and path just as cookies are.
The first client support was in the Google Toolbar for Internet Explorer, but it is now going to be much more widely used because it is supported in the Google Chrome browser for Windows. (It’s still not in the latest Chrome developer build for Linux, or at any rate not enabled by default if the code is there.)
Only Google’s web servers support it to date, as far as I know. Someone intended to start a mod_sdch project for Apache, but there’s no code at all yet and no activity since September 2008.
- SDCH Google Group which includes the specification PDF and ongoing discussion
- Wei-Hsin Lee’s presentation slides on SDCH
- IETF mailing list announcement of SDCH and ensuing discussion thread
- Velocity 2008 conference notes where the pronunciation of SDCH is given as “sandwich”
- Vaporware Apache mod_sdch project