]
Stuart Douglas moved EAP7-910 to WFLY-9811:
-------------------------------------------
Project: WildFly (was: EAP 7 Planning Pilot)
Key: WFLY-9811 (was: EAP7-910)
Issue Type: Feature Request (was: Requirement)
Workflow: GIT Pull Request workflow (was: EAP Agile Workflow 1.2)
Component/s: Web Console
(was: Undertow)
(was: Web Console)
Target Release: (was: 7.2.0.GA)
Polarion Test Plan: (was:
Serve gzip encoded resources
----------------------------
Key: WFLY-9811
URL:
https://issues.jboss.org/browse/WFLY-9811
Project: WildFly
Issue Type: Feature Request
Components: Web Console
Reporter: Stuart Douglas
Assignee: Stuart Douglas
Generally you want two things to happen:
# serve files using #sendfile
# serve gzipped versions resources
Compressing resources in memory saves bandwidth but is suboptimal since the whole
resource needs to be loaded into memory.
Jetty implements this like this:
- if the Accept-Encoding includes "gzip"
- and there is a ".gz" version of the file (eg. you request
"style.css" and there is "style.css.gz")
then the ".gz" version is served.