Code updates
Miles Elam <[email protected]>
| Newsgroups | gmane.network.tux |
|---|---|
| Message-ID | <[email protected]> |
Anyone have a URL for a code patch fixing the gzip file length bug? I would really like to be able to use gzipped HTML and CSS files to reduce bandwidth usage. Also, I want to have the functionality in tux to do some very simple client detection for content delivery. Basically it boils down to an array of strings: "MSIE 6" "index.xml" "Nokia" "index.wml" "UP" "index.wml" "Wapalizer" "index.wml" "" "index.html" So instead of always just serving index.html at a trailing slash if available, it would return the content type most appropriate for the client based on a simple substring match; First match wins the prize. It seems to me that this wouldn't introduce a noticeable amount of overhead to the server compared to the flexibiity. I am not familiar with the codebase. Where would be the best place to start? - Miles