[jboss-jira] [JBoss JIRA] (WFLY-1114) Serve gzip encoded console resources

Philippe Marschall (JIRA) jira-events at lists.jboss.org
Mon Aug 5 01:59:26 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794969#comment-12794969 ] 

Philippe Marschall commented on WFLY-1114:
------------------------------------------

Actually this is not only a console related feature but a general feature. 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
                
> Serve gzip encoded console resources
> ------------------------------------
>
>                 Key: WFLY-1114
>                 URL: https://issues.jboss.org/browse/WFLY-1114
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: Domain Management
>            Reporter: Heiko Braun
>
> To decrease network latency when loading the console from a remote host.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list