Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Fuseki 2.4.0
-
None
Description
See http://stackoverflow.com/questions/38069760/how-do-i-make-fuseki-serve-gzipped-content
From testing and code inspection, Fuseki2 does not provide gzip support. The command line argument --gzip doesn't do anything.
It looks like any support was removed during upgrade to jetty9.? when the the way Gzip is handled chnaged. The Jetty GZipFilter is deprecated and is a no-op. It is replaced by the GZipHandler which works just fine.
http://www.eclipse.org/jetty/documentation/9.4.x/gzip-filter.html
We could load this in regardless of any configuration and make it available whenever a request uses Accept-Encoding: gzip.
WAR deployment, including Tomcat
Tomcat has a similar architecture - compression is not provided by some feature of the standard servlet/webapp web.xml but by configuring of the Tomcat HttpConnector. https://tomcat.apache.org/tomcat-8.0-doc/config/http.html