Created
January 10, 2018 12:31
-
-
Save mRoca/fd8847c0ec3e5d7408c7d4bb41869d46 to your computer and use it in GitHub Desktop.
solr gzip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- <web-app> --> | |
<!-- ... --> | |
<filter> | |
<filter-name>GzipFilter</filter-name> | |
<filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class> | |
<init-param> | |
<param-name>mimeTypes</param-name> | |
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,application/xml,text/css,application/javascript,image/svg+xml,application/json,application/xml; charset=UTF-8</param-value> | |
</init-param> | |
</filter> | |
<filter-mapping> | |
<filter-name>GzipFilter</filter-name> | |
<url-pattern>/*</url-pattern> | |
</filter-mapping> | |
<!-- </web-app> --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment