[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #30 from klokhuiswer...@gmail.com --- the issue with Comment 26 seems to me that if you send a request with `if-none-match: "0-5debc62fd30dd-br"` it'll respond with `etag: "0-5debc62fd30dd"` (which is missing the `-br` part) it seems to me that something like the following solves it SetEnvIf If-None-Match '^"((.*)-(gzip))"$' gzip SetEnvIf If-None-Match '^"((.*)-(br))"$' br RequestHeader edit "If-None-Match" '^"((.*)-(gzip|br))"$' '"$1", "$2"' Header edit "ETag" '^"(.*)"$' '"$1-gzip"' env=gzip Header edit "ETag" '^"(.*)"$' '"$1-br"' env=br -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 Rainer Canavan changed: What|Removed |Added URL|https://www.1word4pics.com/ | Keywords|APIBug | --- Comment #32 from Rainer Canavan --- Undo spam change -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 EricBaugh changed: What|Removed |Added URL||https://www.1word4pics.com/ Keywords|RFC |APIBug --- Comment #31 from EricBaugh --- I also applied this on my website https://www.1word4pics.com/ which was pretty much easier than what it looks right now. The positive effects of these were massive and did a great job for me as well -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #30 from Gamers Dunia --- Wow , really got helped by this on my site https://gamersdunia.com/coin-master-daily-free-spins-link-today/ -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #29 from Jake Baugh --- Thank you for sharing this, it really helped me improving my site performance. https://www.coinmasterspinlinks.com/ -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #28 from Olivier Mehani --- The updated solution from Comment 26 fixed the issue (didn't try Comment 22). -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #27 from Olivier Mehani --- I think I'm seeing the same issue with * Apache 2.4.39 * HTTP/2 * GZipped transfer When I first retrieve the URL, I get an ETag with '-gzip' appended. $ curl -I 'https://example.net/file.png' --compressed HTTP/2 200 date: Fri, 02 Aug 2019 00:12:51 GMT server: Apache/2.4.39 (Unix) LibreSSL/2.9.1 mod_chroot/0.5 last-modified: Fri, 02 Aug 2019 00:08:49 GMT etag: "11b104-4fa0-58f1729a20024-gzip" accept-ranges: bytes cache-control: max-age=31536000 expires: Sat, 01 Aug 2020 00:12:51 GMT vary: Accept-Encoding content-encoding: gzip strict-transport-security: max-age=15768000; content-length: 18360 content-type: image/png Any subsequent requests for that full ETag result in a 200 with the data being re-transfered. $ curl -I 'https://example.net/file.png' --compressed -H 'If-None-Match: "11b104-4fa0-58f1729a20024-gzip"' HTTP/2 200 date: Fri, 02 Aug 2019 00:12:55 GMT server: Apache/2.4.39 (Unix) LibreSSL/2.9.1 mod_chroot/0.5 last-modified: Fri, 02 Aug 2019 00:08:49 GMT etag: "11b104-4fa0-58f1729a20024-gzip" accept-ranges: bytes cache-control: max-age=31536000 expires: Sat, 01 Aug 2020 00:12:55 GMT vary: Accept-Encoding content-encoding: gzip strict-transport-security: max-age=15768000; content-length: 18360 content-type: image/png If I remove the '-gzip' suffix, I get the expected 304 response. $ curl -I 'https://example.net/file.png' --compressed -H 'If-None-Match: "11b104-4fa0-58f1729a20024"' HTTP/2 304 date: Fri, 02 Aug 2019 00:12:58 GMT server: Apache/2.4.39 (Unix) LibreSSL/2.9.1 mod_chroot/0.5 etag: "11b104-4fa0-58f1729a20024" expires: Sat, 01 Aug 2020 00:12:58 GMT cache-control: max-age=31536000 -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #26 from Jacques Distler --- With a minor modification, the workaround in Comment 22 works for both mod_deflate and mod_brotli : RequestHeader edit "If-None-Match" '^"((.*)-(gzip|br))"$' '"$1", "$2"' (using the default AddSuffix setting for both modules' ETag handling). Seems to me that this should just be incorporated into the "If-None-Match"-handling code in the server, rather than relying on users to monkey with their httpd.config file. But what do I know ? -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #25 from Arjen de Korte --- (In reply to Martin Heide from comment #21) > (In reply to Eric Covener from comment #17) > > It's a copout, but I've made this configurable in r1586542 with a default > > for now of maintaining the 2.4 behavior. > > Hi Eric, > will your workaround of r1586542 make it into some Apache 2.4 release? I saw > that it > is integrated in 2.5, but it is not mentioned in the 2.4 docs. > I tried the DeflateAlterETag directive, but it does not seem to available in > Ubuntu 14.04 LTS (Apache 2.4.7). > > Since you only added a directive, this cannot break any existing server > configurations, so it should be available in 2.4, too! *tap*tap*tap*, is this thing on? Why do we have BrotliAlterETag in 2.4, but DeflateAlterETag not and is r1586542 still waiting to be backported? -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 d...@ulupov.com changed: What|Removed |Added CC|d...@ulupov.com | -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 Rainer Canavan changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|MOVED |--- --- Comment #24 from Rainer Canavan --- Undo spam change. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 moh.riza changed: What|Removed |Added Resolution|--- |MOVED Status|REOPENED|RESOLVED -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 Rainer Jungchanged: What|Removed |Added Priority|P5 |P2 Severity|blocker |regression Component|All |mod_deflate Version|2.2.4 |2.2.8 Status|RESOLVED|REOPENED Resolution|WORKSFORME |--- Keywords||RFC --- Comment #23 from Rainer Jung --- Undo spam change -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 Kevinchanged: What|Removed |Added Severity|regression |blocker Resolution|--- |WORKSFORME Priority|P2 |P5 Keywords|RFC | Version|2.2.8 |2.2.4 Status|REOPENED|RESOLVED Component|mod_deflate |All -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 Szőgyényi Gáborchanged: What|Removed |Added CC||szg0...@freemail.hu -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 herr.er...@gmail.com changed: What|Removed |Added CC||herr.er...@gmail.com -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #22 from joost.dekeij...@gmail.com --- Am I correct to read in http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.26 that the If-None-Match header can contain mulitple ETAG values? If so, maybe an alternative version of rahuls workaround could be: RequestHeader edit "If-None-Match" '^"((.*)-gzip)"$' '"$1", "$2"' With above line, I think there is no need to modify the outgoing Header and the modefied RequestHeader works in with or without deflation -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #21 from Martin Heide martin.he...@faroeurope.com --- (In reply to Eric Covener from comment #17) It's a copout, but I've made this configurable in r1586542 with a default for now of maintaining the 2.4 behavior. Hi Eric, will your workaround of r1586542 make it into some Apache 2.4 release? I saw that it is integrated in 2.5, but it is not mentioned in the 2.4 docs. I tried the DeflateAlterETag directive, but it does not seem to available in Ubuntu 14.04 LTS (Apache 2.4.7). Since you only added a directive, this cannot break any existing server configurations, so it should be available in 2.4, too! -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #19 from Jesús Cea j...@jcea.es --- Eric, I am graceful for the new directive, but why not implementing a better ETAG verification instead of altering the ETAG generation?. If you get an etag with a -gzip suffix, you just verify the etag without that suffix. You could link this to the accept-encoding header, maybe. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #20 from Eric Covener cove...@gmail.com --- (In reply to Jesús Cea from comment #19) Eric, I am graceful for the new directive, but why not implementing a better ETAG verification instead of altering the ETAG generation?. My immediate concern is the unnecessary difference between 2.2 and 2.4, allowing the 2.2 behavior in 2.4 is a lot simpler to tackle then adding some third behavior (I admitted before it was a copout) -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 Yann Ylavic ylavic@gmail.com changed: What|Removed |Added CC||j...@jcea.es --- Comment #18 from Yann Ylavic ylavic@gmail.com --- *** Bug 56354 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #17 from Eric Covener cove...@gmail.com --- It's a copout, but I've made this configurable in r1586542 with a default for now of maintaining the 2.4 behavior. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #17 from Jackie Rosen jackie.ro...@hushmail.com --- *** Bug 260998 has been marked as a duplicate of this bug. *** Seen from the domain http://volichat.com Page where seen: http://volichat.com/adult-chat-rooms Marked for reference. Resolved as fixed @bugzilla. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 Eric Covener cove...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #16 from Eric Covener cove...@gmail.com --- Was this ever resolved in trunk/2.4? Alias /deflate /home/covener/SRC/httpd-trunk/built/htdocs/index.html Location /deflate SetOutputFilter DEFLATE /location $ wget --header=Accept-Encoding: gzip -S http://localhost/deflate -O/dev/null 21 |grep ETag ETag: 58c5-4b26c6f28ce80-gzip $ wget --header='If-None-Match: 58c5-4b26c6f28ce80-gzip' --header=Accept-Encoding: gzip -S http://localhost/deflate -O/dev/null 21 --2013-06-23 13:39:47-- http://localhost/deflate Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Sun, 23 Jun 2013 17:39:47 GMT Server: Apache/2.5.0-dev (Unix) OpenSSL/1.0.1c Last-Modified: Wed, 23 Nov 2011 20:04:58 GMT ETag: 58c5-4b26c6f28ce80-gzip Accept-Ranges: bytes Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 206 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html covener@cov-w520:~/SRC/httpd-trunk$ wget --header='If-None-Match: 58c5-4b26c6f28ce80' --header=Accept-Encoding: gzip -S http://localhost/deflate -O/dev/null 21|grep HTTP/1.1 HTTP/1.1 304 Not Modified -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 d...@ulupov.com changed: What|Removed |Added CC||d...@ulupov.com -- 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-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #15 from hacke...@gmail.com 2009-04-13 11:25:53 PST --- I'm still experiencing this with 2.2.11-2ubuntu2 -- but adding these 2 lines are suggested by rahul works: RequestHeader edit If-None-Match ^(.*)-gzip$ $1 Header edit ETag ^(.*[^g][^z][^i][^p])$ $1-gzip -- 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-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 Roy T. Fielding field...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #14 from Roy T. Fielding field...@apache.org 2009-04-03 18:41:47 PST --- This bug was added in 2.2.8 in a failed attempt to address Bug 39727. Since a real fix will require extensive changes, I have reverted the change in http://svn.apache.org/viewvc?view=revrevision=761835 Note: if you are patching a released version of the source code, then extract the patch from the original change http://svn.apache.org/viewvc?view=revrevision=608849 and use patch -R to apply it in reverse. Meanwhile, the original bug will still be tracked as issue 39727. -- 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-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 Taco van den Broek [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] ||l -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 Franklin Tse [EMAIL PROTECTED] changed: What|Removed |Added Depends on||39727 Severity|normal |regression Component|Core|mod_deflate OS/Version|Linux |All Platform|PC |All -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 Sidharth Kshatriya [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #8 from Sidharth Kshatriya [EMAIL PROTECTED] 2008-09-18 08:23:02 PST --- Hello! I'm also facing the same problem -- I had been scratching my head for sometime before I found this bug report. I have to reduce my page size urgently and not having gzip on is not really an option for me. I'm not really comfortable having a customized compiled version of apache2 on my system and the regular expression hack will also slow things down (will it?). Any alternative ideas? When might this bug be fixed? Thanks, Sidharth -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #9 from Sidharth Kshatriya [EMAIL PROTECTED] 2008-09-18 08:27:57 PST --- I had a look at ap_hook_post_read_request attachment...seems like I can get away with just compiling mod_deflate.c I'm using Apache 2.2.8. Can anyone help me on where I can get the correct source for the corresponding mod_deflate and how I can compile mod_deflate? Thanks for your help! Sidharth -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #10 from Sidharth Kshatriya [EMAIL PROTECTED] 2008-09-18 09:19:28 PST --- Hi, Sorry for flooding this mailing list. In this thread there is Rahul's mod_deflate patch and there are some patches in this bug thread: https://issues.apache.org/bugzilla/show_bug.cgi?id=39727 (mostly by Nick Kew) Which one is the best solution? Thanks, Sidharth -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #11 from rahul [EMAIL PROTECTED] 2008-09-18 10:27:15 PST --- You will need both. This patch expects the other to have been applied (this is already applied on trunk). Also please use the [EMAIL PROTECTED] for questions. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #12 from Sidharth Kshatriya [EMAIL PROTECTED] 2008-09-18 11:03:49 PST --- Thanks for your response Rahul. Unfortunately I am new to all of this. I applied Nick's patch to my mod_deflate.c but I got patching errors...his patch is assuming a slightly different mod_deflate.c from mine. Would really appreciate if you were able to direct me to the place (or even better just gave me the patched mod_deflate.c version) that I could just compile. [ASIDE: I am using apxs2 -c mod_deflate.c with LDFLAGS=-lz set in /usr/bin/aprconfig I notice that my original mod_deflate.so depends on libpthread. When I apply your patch to my file and compile, I don't get dependency with libpthread.] Please tell me if I would need to do any additional transformations to the file you would provide me (assuming you can :-) ). Thanks a Ton! Sidharth [Attaching the mod_deflate that I have. This I obtained by issuing sudo apt-get install apache2-src on ubuntu. This is version 2.2.8 Apache] -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #13 from Sidharth Kshatriya [EMAIL PROTECTED] 2008-09-18 11:10:32 PST --- Created an attachment (id=22605) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=22605) mod_deflate as found in apache2-src package on ubuntu version 2.2.8-1ubuntu0.3 -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 Maxime Ritter [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 Franklin Tse [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 rahul [EMAIL PROTECTED] changed: What|Removed |Added Attachment #22453|0 |1 is obsolete|| --- Comment #7 from rahul [EMAIL PROTECTED] 2008-08-21 08:13:07 PST --- Created an attachment (id=22468) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=22468) use ap_hook_post_read_request instead of input filter Incorporate suggested changes by Nick -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 rahul [EMAIL PROTECTED] changed: What|Removed |Added Keywords||RFC --- Comment #4 from rahul [EMAIL PROTECTED] 2008-08-19 05:36:44 PST --- There is a workaround, If you are serving from a location say /js You can use a configuration like below to switch ETag: $1-gzip to $1 Location /js RequestHeader edit If-None-Match ^(.*)-gzip$ $1 Header edit ETag ^(.*[^g][^z][^i][^p])$ $1-gzip /Location (Perhaps this should be done from mod_deflate as input filter with the condition that if Client requests with Accept-Encoding: gzip only then modify If*match headers to their un-gzip values.) (Also the current value of ETag (+gzip) is not RFC compliant, since RFC mandates a quoted string as the value of ETag. As the noted by john, -gzip should be inside quotes.) -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #5 from rahul [EMAIL PROTECTED] 2008-08-19 06:41:51 PST --- Created an attachment (id=22453) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=22453) A POC slightly better than the above conf lines, Adds an input filter ETAG that can be used like below, along with DEFLATE to let apache recognize ($1)-gzip as $1 AddInputFilter ETAG .txt AddOutputFilterByType DEFLATE text/plain -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 --- Comment #6 from John Siracusa [EMAIL PROTECTED] 2008-08-19 07:47:26 PST --- Both the workaround in comment #4 and the patch in comment #5 appear to work. Neither are real fixes for the bug, however. (But I'm glad I have something to work with until a real fix arrives, so thanks rahul!) -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 John Siracusa [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Comment #3 from John Siracusa [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]