From: Rich Bowen Date: Thu, 13 Jan 2011 16:13:33 +0000 (+0000) Subject: Rebuild transformations. X-Git-Tag: 2.3.11~215 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee3b22a3b6fb3e88b8c6e92b9406f1edfc0928f0;p=apache Rebuild transformations. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1058645 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/caching.html.en b/docs/manual/caching.html.en index ed27b00f90..7370814927 100644 --- a/docs/manual/caching.html.en +++ b/docs/manual/caching.html.en @@ -129,12 +129,13 @@ in which it matters: If you are using Server Side Includes;

-
-<!-- The following include can be cached -->
-<!--#include virtual="/footer.html" --> 
-
-<!-- The following include can not be cached -->
-<!--#include file="/path/to/footer.html" -->
+

+<!-- The following include can be cached -->
+<!--#include virtual="/footer.html" -->
+
+<!-- The following include can not be cached -->
+<!--#include file="/path/to/footer.html" --> +

If you are using Server Side Includes, and want the benefit of speedy serves from the cache, you should use virtual include @@ -398,7 +399,9 @@ Vary: negotiate,accept-language,accept-charset instructs httpd to open the file when it is started and to re-use this file-handle for all subsequent access to this file.

-
CacheFile /usr/local/apache2/htdocs/index.html
+

+ CacheFile /usr/local/apache2/htdocs/index.html +

If you intend to cache a large number of files in this manner, you must ensure that your operating system's limit for the number of open @@ -489,7 +492,9 @@ sys 0m0.000s start time (using the mmap system call). httpd will use the in-memory contents for all subsequent accesses to this file.

-
MMapFile /usr/local/apache2/htdocs/index.html
+

+ MMapFile /usr/local/apache2/htdocs/index.html +

As with the CacheFile directive, any @@ -516,11 +521,12 @@ sys 0m0.000s

Typically the module will be configured as so;

-
-CacheRoot   /var/cache/apache/
-CacheEnable disk /
-CacheDirLevels 2
-CacheDirLength 1
+

+CacheRoot /var/cache/apache/
+CacheEnable disk /
+CacheDirLevels 2
+CacheDirLength 1 +

Importantly, as the cached files are locally stored, operating system in-memory caching will typically be applied to their access also. So diff --git a/docs/manual/caching.xml.tr b/docs/manual/caching.xml.tr index 75acd37ab0..c051bd181a 100644 --- a/docs/manual/caching.xml.tr +++ b/docs/manual/caching.xml.tr @@ -1,7 +1,7 @@ - + + + +