[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19737#action_19737
]
Jan Haderka commented on MAGNOLIA-2495:
---------------------------------------
Actually more complete list of scenarios is:
# cache flat and compressed (Store + UseCache)
## and serve back COMPRESSED
## and serve back flat
# cache flat and serve flat (Store + UseCache)
# do not cache and serve compressed (Bypass + GZipFilter)
# do not cache and serve flat (Bypass executor and bypass on GZipFilter)
To serve the content compressed or flat you need to take in account user
browser (user-agent and contentEncoding headers)
To compress content when creating the cache you need to take in account whether
content type is compressible (html, js, css) or not irrespective of browser to
which content will be served.
The only clean separation is to make cache ignore compression issue all
together and have GZipFilter the only place evaluating this. We discussed it
earlier if you remember and decided that performance hit due to repeated
compression of content would be too big and unnecessary.
If we centralize the configuration (and I'm all for it, I don't like to have to
configure it in two places any more then you), the configuration of voters
should IMHO reside in the cache module, rather then in one of the filters since
they can be turned on/off or even removed interdependently.
We will also need to split different concerns here (creating compressed content
entry from serving compressed content).
> Selectively switch off the gzip compression based on user agent
> ---------------------------------------------------------------
>
> Key: MAGNOLIA-2495
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2495
> Project: Magnolia
> Issue Type: Improvement
> Components: cache
> Affects Versions: 3.6.3
> Reporter: Jan Haderka
> Assignee: Jan Haderka
> Fix For: 3.6.x, 4.0
>
>
> Due to issues with IE6, implement change cache configuration to selectively
> disable gzip compression for JS and CSS resources. Doing so allows to work
> around buggy gzip support in IE6 without having to switch off the compression
> or caching completely.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
----------------------------------------------------------------