The case for mod_inflate

Posted in Thu, 15 Jan 2009 11:19:00 GMT

Given that many, but not all, web browsers support compression, it seems to make sense to compress static HTML pages and only inflate them (or inflate and recompress using a different algorithm) if the webbrowser does not understand the algorithm used for storage. The way this could work is to is to set a file extension (or other method) to let the webserver know the file is compressed and what algorithm is used. For example a file with the .htz extension (similar to .tgz) could indicate to Apache that the file is Gzipped. If the client understands Gzip, then the file can be delivered as is. If the client does not understand Gzip, the file would be inflated.

A mod_inflate like this would provide two benefits (a) less on-disk storage requirements and (b) lower webserver overhead when many clients understand the compression being used. Is there such a project like this? If not, should there be one?

del.icio.us:The case for mod_inflate digg:The case for mod_inflate reddit:The case for mod_inflate spurl:The case for mod_inflate wists:The case for mod_inflate simpy:The case for mod_inflate newsvine:The case for mod_inflate blinklist:The case for mod_inflate furl:The case for mod_inflate fark:The case for mod_inflate blogmarks:The case for mod_inflate Y!:The case for mod_inflate smarking:The case for mod_inflate magnolia:The case for mod_inflate segnalo:The case for mod_inflate

2 comments

Comments

  1. Roland Mösl said 2 months later:

    I am just resarching this.

    Seems mod_gunzip is exactly what You search.

    mod_gunzip expexts compressed files. mod_gunzip inflates if the client does not understand compressed delivery

    founder@pege.org

  2. founder@pege.org said 2 months later:

    I am just resarching this.

    Seems mod_gunzip is exactly what You search.

    mod_gunzip expexts compressed files. mod_gunzip inflates if the client does not understand compressed delivery

    founder@pege.org

(leave url/email »)

   Comment Markup Help Preview comment