From c787a7ffcf62ddf63acff0d18d8df52d028043e7 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Tue, 15 Feb 2011 12:52:47 +0000 Subject: Rebulds transformation, adding simplified chinese translation documents. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1070871 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_cache.html.en | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs/manual/mod/mod_cache.html.en') diff --git a/docs/manual/mod/mod_cache.html.en b/docs/manual/mod/mod_cache.html.en index 92c6df04cf..5439e57f2d 100644 --- a/docs/manual/mod/mod_cache.html.en +++ b/docs/manual/mod/mod_cache.html.en @@ -327,13 +327,15 @@

Based on the caching decision made, the reason is also written to the - subprocess environment under one the following three keys, as appropriate:

+ subprocess environment under one the following four keys, as appropriate:

cache-hit
The response was served from cache.
cache-revalidate
The response was stale and was successfully revalidated, then served from cache.
cache-miss
The response was served from the upstream server.
+
cache-invalidate
The cached entity was invalidated by a request + method other than GET or HEAD.

This makes it possible to support conditional logging of cached requests @@ -343,8 +345,12 @@ CustomLog cached-requests.log common env=cache-hit
CustomLog uncached-requests.log common env=cache-miss
CustomLog revalidated-requests.log common env=cache-revalidate
+ CustomLog invalidated-requests.log common env=cache-invalidate

+

For module authors, a hook called cache_status is available, + allowing modules to respond to the caching outcomes above in customised + ways.

top

CacheDefaultExpire Directive

-- cgit v1.2.3