You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/07/24 23:53:40 UTC
[3/3] git commit: Updated indentation and installation instructions.
Updated indentation and installation instructions.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4e55e509
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4e55e509
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4e55e509
Branch: refs/heads/master
Commit: 4e55e50964e1589c1a629b8f15ac003e0cf23c32
Parents: 9897884
Author: Leif Hedstrom <zw...@apache.org>
Authored: Wed Jul 24 15:53:21 2013 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed Jul 24 15:53:21 2013 -0600
----------------------------------------------------------------------
doc/plugins/gzip.en.rst | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4e55e509/doc/plugins/gzip.en.rst
----------------------------------------------------------------------
diff --git a/doc/plugins/gzip.en.rst b/doc/plugins/gzip.en.rst
index d601f0d..ca49913 100644
--- a/doc/plugins/gzip.en.rst
+++ b/doc/plugins/gzip.en.rst
@@ -20,20 +20,16 @@ gzip / deflate Plugin
This plugin gzips or deflates responses, whichever is applicable. It can
-compress origin respones as well as cached responses.
+compress origin respones as well as cached responses. The plugin is built
+and installed as part of the normal Apache Traffic Server installation
+process.
Installation
============
-First, run:
+Add the following line to
+```plugin.config`` <../../configuration-files/plugin.config>`_::
-::
- make && sudo make install
-
-Then, add the following line to
-```plugin.config`` <../../configuration-files/plugin.config>`_:
-
-::
gzip.so
In this case, the plugin will use the default behaviour:
@@ -47,9 +43,8 @@ In this case, the plugin will use the default behaviour:
Configuration
=============
-Alternatively, a configuration can also be specified:
+Alternatively, a configuration can also be specified::
-::
gzip.so <path-to-plugin>/sample.gzip.config
After modifying plugin.cofnig, restart traffic server (sudo
@@ -79,9 +74,8 @@ compressible content types.
``disallow``: Wildcard pattern for disabling compression on urls.
-Options can be set globally or on a per-site basis, as such:
+Options can be set globally or on a per-site basis, as such::
-::
# Set some global options first
cache true
enabled true
@@ -95,4 +89,3 @@ Options can be set globally or on a per-site basis, as such:
disallow /notthis/*.js
See example.gzip.config for example configurations.
-