You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/06/24 16:32:40 UTC

DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response

https://issues.apache.org/bugzilla/show_bug.cgi?id=45023


John Siracusa <si...@gmail.com> changed:

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




--- Comment #3 from John Siracusa <si...@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