[
http://jira.magnolia.info/browse/MAGNOLIA-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16433#action_16433
]
gjoseph edited comment on MAGNOLIA-2157 at 6/9/08 3:50 PM:
------------------------------------------------------------------
this uncovered several issues
- while the gzip filter sets the content length properly, the container had
set it first to the length of the uncompressed document, and it doesn't get
overriden. This is the issue described here.
- if the client does not accept gzip encoding, the cache filter indeed serves
the unzipped content, but it still sent the gzip headers in the response.
- when the cache policy determines the entry needs to be cached, the cache
filter always serves the gzipped content even if the client does not accept
gzip encoding (even the gzip filter is enabled, of course)
was (Author: gjoseph):
this uncovered several issues
- while the gzip filter sets the content length properly, the container had
set it first to the length of the uncompressed document, and it doesn't get
overriden. This is the issue described here.
- if the client does not accept gzip encoding, the cache filter indeed serves
the unzipped content, but it still sent the gzip headers in the response.
- when the cache policy determines the entry needs to be cache, the cache
filter always serves the gzipped content even if the client does not accept
gzip encoding (even the gzip filter is enabled, of course)
> cache: wrong content length for resource streamed from docroot
> --------------------------------------------------------------
>
> Key: MAGNOLIA-2157
> URL: http://jira.magnolia.info/browse/MAGNOLIA-2157
> Project: Magnolia
> Issue Type: Bug
> Affects Versions: 3.6
> Reporter: Philipp Bracher
> Assignee: Gregory Joseph
> Priority: Critical
> Fix For: 3.6
>
>
> curl http://localhost:8080/magnoliaPublic/docroot/samples/css/menu.css
> --> curl: (18) transfer closed with 442 bytes remaining to read
> The connection is kept open for quite a while. You can see the effect quite
> easily if you open /help.html in a public instance
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------