[ 
https://issues.apache.org/jira/browse/TS-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451410#comment-13451410
 ] 

Otto van der Schaaf commented on TS-1443:
-----------------------------------------

I renamed the option from "enable_gzip" from the patch to just "enabled", since 
this is about enabling compression instead of enabling gzip specifically.

                
> 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
>            Assignee: Otto van der Schaaf
>             Fix For: 3.3.1
>
>         Attachments: gzip_enable_option.patch
>
>
> 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