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/10/22 16:39:36 UTC

git commit: Added docs for proxy.config.http.cache.allow_empty_doc.

Updated Branches:
  refs/heads/master 6c5955a9e -> bb5f90963


Added docs for proxy.config.http.cache.allow_empty_doc.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/bb5f9096
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/bb5f9096
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/bb5f9096

Branch: refs/heads/master
Commit: bb5f909639fa488c7cc890ee1f60c129acd66c67
Parents: 6c5955a
Author: Leif Hedstrom <zw...@apache.org>
Authored: Tue Oct 22 08:39:09 2013 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Tue Oct 22 08:39:24 2013 -0600

----------------------------------------------------------------------
 doc/reference/configuration/records.config.en.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/bb5f9096/doc/reference/configuration/records.config.en.rst
----------------------------------------------------------------------
diff --git a/doc/reference/configuration/records.config.en.rst b/doc/reference/configuration/records.config.en.rst
index f2f0497..f1f0c0c 100644
--- a/doc/reference/configuration/records.config.en.rst
+++ b/doc/reference/configuration/records.config.en.rst
@@ -959,6 +959,14 @@ Cache Control
 
    Enables (``1``) or disables (``0``) caching of HTTP requests.
 
+.. ts:cv:: CONFIG proxy.config.http.cache.allow_empty_doc INT 0
+   :reloadable:
+
+   Enables (``1``) or disables (``0``) caching objects that have an empty
+   response body. This is particularly useful for caching 301 or 302 responses
+   with a ``Location`` header but no document body. This only works if the
+   origin response also has a ``Content-Length`` header.
+
 .. ts:cv:: CONFIG proxy.config.http.cache.ignore_client_no_cache INT 0
    :reloadable: