0 Replies Latest reply on Apr 7, 2017 7:27 AM by valsaraj viswanathan

    gzipFilter & vary-header in WildFly-10.1.0?

    valsaraj viswanathan Master

      Hi,

       

      Do we need to use gzipFilter & vary-header in WildFly-10.1.0?

       

      It was used in 8.2.1:

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

      ...

      <filter-ref name="gzipFilter" predicate="not min-content-size[500] and exists['%{o,Content-Type}'] and not regex[pattern='(?:application/.*)(;.*)?', value=%{o,Content-Type}, full-match=true]"/>

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

      </host>

      ....

      <filters>

      .....

      <response-header name="Vary-header" header-name="Vary" header-value="Accept-Encoding"/>

      <gzip name="gzipFilter"/>

      </filters>

       

      Please advice!

       

      Thanks!