Add GZip compression support to Fuseki
--------------------------------------
Key: JENA-209
URL: https://issues.apache.org/jira/browse/JENA-209
Project: Jena
Issue Type: New Feature
Components: Fuseki
Affects Versions: Fuseki 0.2.1
Reporter: Rob Vesse
Priority: Minor
Fix For: Fuseki 0.2.1
Attachments: FusekiGZipSupport.patch
The attached patch for Fuseki gives the user the ability to enable gzip
compression either by using a --gzip option at the command line or by calling
ARQ.set(Fuseki.FusekiEnableGZipCompression, true) from code
GZip compression is enabled by adding the GzipFilter to relevant servlets, this
filter comes from the jetty-servlets package which is licensed under the same
terms as the existing Jetty dependencies used so I assume licensing is not an
issue. When enabled GZip compression only applies when the client sends an
Accept-Encoding: gzip header and certain other conditions are met.
Currently this feature is disabled by default as most browsers will send this
header and when both the client and server are on the local machine performance
can actually be worsened. When the client and server are on different networks
a significant speed up (2-5x times depending on result format) has been seen.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira