0 Replies Latest reply on Apr 14, 2015 2:15 AM by valsaraj viswanathan

    GZip seems to be not working on WildFly-8.2

    valsaraj viswanathan Master

      Hi,

       

      I have configured GZip on WildFly-8.2:

      <subsystem xmlns="urn:jboss:domain:undertow:1.2">

                      <buffer-cache name="default"/>

                      <server name="default-server">

                          <http-listener name="default" socket-binding="http"/>

                          <host name="default-host" alias="localhost">

                              <location name="/" handler="welcome-content"/>

                              <filter-ref name="gzipFilter" predicate="path-suffix['.css'] or path-suffix['.js']" />

                               <filter-ref name="server-header"/>

                              <filter-ref name="x-powered-by-header"/>

                          </host>

                      </server>

                      <servlet-container name="default">

                          <jsp-config/>

                          <websockets/>

                      </servlet-container>

                      <handlers>

                          <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>

                      </handlers>

                      <filters>

                          <response-header name="server-header" header-name="Server" header-value="WildFly/8"/>

                          <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>

                          <gzip name="gzipFilter"/>

                      </filters>

                  </subsystem>

       

      Then I checked with YSlow and did not found any change in grade. It is still showing grade F.