title: Configuration GZip at Wildfly
body: <p>I'm with a problem to configure the GZip in my Wildfly server used the following configuration on the server:</p>
  
  <pre><code>&lt;subsystem xmlns="urn:jboss:domain:undertow:1.2"&gt;
          &lt;buffer-cache name="default"/&gt;
          &lt;server name="default-server"&gt;
              &lt;http-listener name="default" socket-binding="http"/&gt;
              &lt;host name="default-host" alias="localhost"&gt;
                  &lt;location name="/" handler="welcome-content"/&gt;
                  &lt;filter-ref name="gzipFilter" predicate="path-suffix['.css'] or path-suffix['.js'] or path-suffix['.xhtml']"/&gt;
                  &lt;filter-ref name="server-header"/&gt;
                  &lt;filter-ref name="x-powered-by-header"/&gt;
              &lt;/host&gt;
          &lt;/server&gt;
          &lt;servlet-container name="default"&gt;
              &lt;jsp-config/&gt;
              &lt;websockets/&gt;
          &lt;/servlet-container&gt;
          &lt;handlers&gt;
              &lt;file name="welcome-content" path="${jboss.home.dir}/welcome-content"/&gt;
          &lt;/handlers&gt;
          &lt;filters&gt;
              &lt;response-header name="server-header" header-name="Server" header-value="Wildfly 8"/&gt;
              &lt;response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow 1"/&gt;
              &lt;gzip name="gzipFilter"/&gt;
          &lt;/filters&gt;
      &lt;/subsystem&gt;
  </code></pre>
  
  <p>And became the Zip file of the request correctly, however I would like to set the minimum size for files to be zipped and what I'm hard, anyone know how to set the minimum size for the server do the zip before sends them to the customer?</p>