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

Adam Krajcik (Jira) issues at jboss.org
Tue Apr 30 04:59:00 EDT 2019


     [ https://issues.jboss.org/browse/WFLY-9811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Krajcik reassigned WFLY-9811:
----------------------------------

    Assignee: Flavia Rainone  (was: Stuart Douglas)


> Serve gzip encoded resources
> ----------------------------
>
>                 Key: WFLY-9811
>                 URL: https://issues.jboss.org/browse/WFLY-9811
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: Web (Undertow)
>            Reporter: Stuart Douglas
>            Assignee: Flavia Rainone
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list