httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
Date Tue, 24 Jun 2008 14:32:40 GMT

John Siracusa <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #3 from John Siracusa <>  2008-06-24 07:32:39 PST ---
This bug nearly defeats the purpose of mod_deflate.  I turned mod_deflate on
with the intent of saving bandwidth when sending JavaScript and CSS files. 
Instead, I'm using *more* bandwidth for every request but the first. 
(Previously, subsequent requests would result in small, no-content 304
responses.  Now the compressed JS and CSS files are sent every time.)

BTW, the change that appends "-gzip" to the etag (revision 607219, I think) is
a bit wacky in its own right in that it appends outside the double quotes. 
IOW, if the original header is:

    Etag: "5954c6-10f4-449d11713aac0"

the modified header ends up as:

    Etag: "5954c6-10f4-449d11713aac0"-gzip

when it probably should be:

    Etag: "5954c6-10f4-449d11713aac0-gzip"

with the "-gzip" inside the quotes.  I altered the code to do this, but it had
no affect on this 304 bug.  I just wanted to note it here so the situation is
avoided when this bug is fixed for real.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message