httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
Date Tue, 24 Jun 2008 14:32:40 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023


John Siracusa <siracusa@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |siracusa@gmail.com




--- Comment #3 from John Siracusa <siracusa@gmail.com>  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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message