Conan Wang created TS-1443:
------------------------------

             Summary: add enable-gzip option for gzip plugin
                 Key: TS-1443
                 URL: https://issues.apache.org/jira/browse/TS-1443
             Project: Traffic Server
          Issue Type: Improvement
          Components: Configuration, Plugins
            Reporter: Conan Wang
             Fix For: 3.3.1


gzip plugin is global enabled. adding 'enable-gzip' option allows us to 
enable/disable the plugin for certain host.

{code}
#global config (here we disable gzip)
enable-gzip false
remove-accept-encoding false
cache false

compressible-content-type text/*
disallow /notthis/*.js

#override the global configuration for a host.⋅
#www.foo.nl does NOT inherit anything
[www.foo.nl]
# (enable gzip in this host)
enable-gzip true
remove-accept-encoding true
cache true
compressible-content-type text/*
compressible-content-type application/json
compressible-content-type application/x-javascript
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to