trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [31/50] [abbrv] git commit: Added docs for proxy.config.http.cache.allow_empty_doc.
Date Sun, 27 Oct 2013 21:36:56 GMT
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/5.0.x
Commit: bb5f909639fa488c7cc890ee1f60c129acd66c67
Parents: 6c5955a
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Tue Oct 22 08:39:09 2013 -0600
Committer: Leif Hedstrom <zwoop@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:
 


Mime
View raw message