trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1393481 - /trafficserver/site/trunk/content/docs/trunk/admin/plugins/gzip/index.en.mdtext
Date Wed, 03 Oct 2012 13:39:50 GMT
Author: humbedooh
Date: Wed Oct  3 13:39:49 2012
New Revision: 1393481

URL: http://svn.apache.org/viewvc?rev=1393481&view=rev
Log:
Fix up the gzip documentation a bit.

Modified:
    trafficserver/site/trunk/content/docs/trunk/admin/plugins/gzip/index.en.mdtext

Modified: trafficserver/site/trunk/content/docs/trunk/admin/plugins/gzip/index.en.mdtext
URL: http://svn.apache.org/viewvc/trafficserver/site/trunk/content/docs/trunk/admin/plugins/gzip/index.en.mdtext?rev=1393481&r1=1393480&r2=1393481&view=diff
==============================================================================
--- trafficserver/site/trunk/content/docs/trunk/admin/plugins/gzip/index.en.mdtext (original)
+++ trafficserver/site/trunk/content/docs/trunk/admin/plugins/gzip/index.en.mdtext Wed Oct
 3 13:39:49 2012
@@ -47,19 +47,33 @@ the configuration is re-read when a mana
 
 # Options # {#Options}
 
-flags and options are:
+Flags and options are:
 
- enabled: enable or disable compression for a host 
+ `enabled`: (`true` or `false`) Enable or disable compression for a host.
 
- remove-accept-encoding: this sets if the plugin should hide the accept encoding from origin
servers
- - to ease the load on the origins
- - for when the proxy parses responses, and the resulting compression/decompression
-   is wastefull
+ `remove-accept-encoding`: (`true` or `false`)  Sets whether the plugin should hide the accept
encoding from origin servers:
+  
+  - To ease the load on the origins.
+  - For when the proxy parses responses, and the resulting compression/decompression is wastefull.
 
- cache: when set, the plugin stores the uncompressed and compressed response as alternates
+`cache`: (`true` or `false`) When set, the plugin stores the uncompressed and compressed
response as alternates.
 
- compressible-content-type: wildcard pattern for matching compressible content types
+`compressible-content-type`: Wildcard pattern for matching compressible content types.
 
- disallow: wildcard pattern for disablign compression on urls
+`disallow`: Wildcard pattern for disabling compression on urls.
 
-also, see example.gzip.config
\ No newline at end of file
+Options can be set globally or on a per-site basis, as such:
+
+    # Set some global options first
+    cache true
+    enabled true
+    remove-accept-encoding false
+    compressible-content-type text/*
+    
+    # Now set a configuration for www.example.com
+    [www.example.com]
+    cache false
+    remove-accept-encoding true
+    disallow /notthis/*.js
+
+See example.gzip.config for example configurations.
\ No newline at end of file



Mime
View raw message