Bug 1409196
| Summary: | When enabled "<IfModule mod_deflate.c>", refresh page 2nd or 3rd time, "304" code will not appear. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss Web Server 3 | Reporter: | xuzhan | ||||
| Component: | httpd | Assignee: | Weinan Li <weli> | ||||
| Status: | CLOSED EOL | QA Contact: | Michal Karm Babacek <mbabacek> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.0.0 | CC: | jdoyle, mmiura, pslavice, rsvoboda | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-03-27 19:43:54 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
xuzhan
2016-12-30 06:38:51 UTC
I think this behavior is related to DeflateAlterETag setting: http://httpd.apache.org/docs/trunk/en/mod/mod_deflate.html#deflatealteretag The DeflateAlterETag directive only exists in trunk and it has not yet been backported to httpd 2.4. So, it's same to "DeflateAlterETag AddSuffix" and the behavior can not be changed by configuration in httpd 2.4. That's why mod_deflate prevents serving "HTTP Not Modified" (304) responses to conditional requests for compressed content. It's better to backport DeflateAlterETag featrue to httpd 2.4 from trunk. As workaround at this moment, you can remove ETag header by using mod_headers. For example: "Header unset ETag" |