You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by lg...@apache.org on 2009/02/11 18:12:19 UTC
svn commit: r743408 - in /httpd/httpd/trunk/docs/manual: caching.xml
caching.xml.fr mod/mod_file_cache.xml
Author: lgentis
Date: Wed Feb 11 17:12:18 2009
New Revision: 743408
URL: http://svn.apache.org/viewvc?rev=743408&view=rev
Log:
MMapStatic directive doesn't exist.
Modified:
httpd/httpd/trunk/docs/manual/caching.xml
httpd/httpd/trunk/docs/manual/caching.xml.fr
httpd/httpd/trunk/docs/manual/mod/mod_file_cache.xml
Modified: httpd/httpd/trunk/docs/manual/caching.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/caching.xml?rev=743408&r1=743407&r2=743408&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/caching.xml (original)
+++ httpd/httpd/trunk/docs/manual/caching.xml Wed Feb 11 17:12:18 2009
@@ -64,7 +64,7 @@
<p>As <module>mod_file_cache</module> presents a relatively simple
caching implementation, apart from the specific sections on <directive
module="mod_file_cache">CacheFile</directive> and <directive
- module="mod_file_cache">MMapStatic</directive>, the explanations
+ module="mod_file_cache">MMapFile</directive>, the explanations
in this guide cover the <module>mod_cache</module> caching
architecture.</p>
@@ -88,9 +88,8 @@
<directivelist>
<directive module="mod_cache">CacheEnable</directive>
<directive module="mod_cache">CacheDisable</directive>
- <directive module="mod_file_cache">MMapStatic</directive>
- <directive module="mod_file_cache">CacheFile</directive>
<directive module="mod_file_cache">CacheFile</directive>
+ <directive module="mod_file_cache">MMapFile</directive>
<directive module="core">UseCanonicalName</directive>
<directive module="mod_negotiation">CacheNegotiatedDocs</directive>
</directivelist>
@@ -455,7 +454,7 @@
<directivelist>
<directive module="mod_cache">CacheEnable</directive>
<directive module="mod_cache">CacheDisable</directive>
- <directive module="mod_file_cache">MMapStatic</directive>
+ <directive module="mod_file_cache">MMapFile</directive>
</directivelist>
</related>
@@ -516,16 +515,16 @@
better performed by Apache.</p>
<section>
- <title>MMapStatic Caching</title>
+ <title>MMapFile Caching</title>
<p><module>mod_file_cache</module> provides the
- <directive module="mod_file_cache">MMapStatic</directive> directive, which
+ <directive module="mod_file_cache">MMapFile</directive> directive, which
allows you to have Apache map a static file's contents into memory at
start time (using the mmap system call). Apache will use the in-memory
contents for all subsequent accesses to this file.</p>
<example>
- <pre>MMapStatic /usr/local/apache2/htdocs/index.html</pre>
+ <pre>MMapFile /usr/local/apache2/htdocs/index.html</pre>
</example>
<p>As with the
@@ -533,7 +532,7 @@
changes in these files will not be picked up by Apache after it has
started.</p>
- <p> The <directive module="mod_file_cache">MMapStatic</directive>
+ <p> The <directive module="mod_file_cache">MMapFile</directive>
directive does not keep track of how much memory it allocates, so
you must ensure not to over-use the directive. Each Apache child
process will replicate this memory, so it is critically important
Modified: httpd/httpd/trunk/docs/manual/caching.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/caching.xml.fr?rev=743408&r1=743407&r2=743408&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/caching.xml.fr (original)
+++ httpd/httpd/trunk/docs/manual/caching.xml.fr Wed Feb 11 17:12:18 2009
@@ -75,7 +75,7 @@
implémentation de mise en cache relativement simple, mises à part les
sections spécifiques sur les directives <directive
module="mod_file_cache">CacheFile</directive> et <directive
- module="mod_file_cache">MMapStatic</directive>, les explications fournies
+ module="mod_file_cache">MMapFile</directive>, les explications fournies
dans ce guide concernent l'architecture de mise en cache du
module <module>mod_cache</module>.</p>
@@ -101,9 +101,8 @@
<directivelist>
<directive module="mod_cache">CacheEnable</directive>
<directive module="mod_cache">CacheDisable</directive>
- <directive module="mod_file_cache">MMapStatic</directive>
- <directive module="mod_file_cache">CacheFile</directive>
<directive module="mod_file_cache">CacheFile</directive>
+ <directive module="mod_file_cache">MMapFile</directive>
<directive module="core">UseCanonicalName</directive>
<directive module="mod_negotiation">CacheNegotiatedDocs</directive>
</directivelist>
@@ -513,7 +512,7 @@
<directivelist>
<directive module="mod_cache">CacheEnable</directive>
<directive module="mod_cache">CacheDisable</directive>
- <directive module="mod_file_cache">MMapStatic</directive>
+ <directive module="mod_file_cache">MMapFile</directive>
</directivelist>
</related>
@@ -582,9 +581,9 @@
circonstances.</p>
<section>
- <title>Mise en cache à l'aide de la directive MMapStatic</title>
+ <title>Mise en cache à l'aide de la directive MMapFile</title>
- <p>La directive <directive module="mod_file_cache">MMapStatic</directive>
+ <p>La directive <directive module="mod_file_cache">MMapFile</directive>
fournie par le module <module>mod_file_cache</module> vous permet de
demander à Apache de charger un contenu de fichier statique en mémoire
lors de son démarrage (à l'aide de l'appel système mmap). Apache
@@ -592,7 +591,7 @@
toutes les demandes d'accès à ce fichier.</p>
<example>
- <pre>MMapStatic /usr/local/apache2/htdocs/index.html</pre>
+ <pre>MMapFile /usr/local/apache2/htdocs/index.html</pre>
</example>
<p>Comme dans le cas de la directive
@@ -601,7 +600,7 @@
ce dernier démarré.</p>
<p> La directive
- <directive module="mod_file_cache">MMapStatic</directive> ne gardant
+ <directive module="mod_file_cache">MMapFile</directive> ne gardant
pas la trace de la quantité de mémoire qu'elle alloue, vous devez prendre
garde de ne pas en abuser. Chaque processus enfant d'Apache utilisant
sa propre réplique de la mémoire allouée, il est donc d'une importance
Modified: httpd/httpd/trunk/docs/manual/mod/mod_file_cache.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_file_cache.xml?rev=743408&r1=743407&r2=743408&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_file_cache.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_file_cache.xml Wed Feb 11 17:12:18 2009
@@ -63,10 +63,7 @@
>MMapFile</directive> or <directive module="mod_file_cache"
>CacheFile</directive> directives in the main server configuration.</p>
- <p>Not all platforms support both directives. For example, Apache
- on Windows does not currently support the <directive
- module="mod_file_cache">MMapStatic</directive> directive, while
- other platforms, like AIX, support both. You will receive an error
+ <p>Not all platforms support both directives. You will receive an error
message in the server error log if you attempt to use an
unsupported directive. If given an unsupported directive, the
server will start but the file will not be cached. On platforms
@@ -179,7 +176,7 @@
places these handles into the cache at server startup
time. Handles to cached files are automatically closed on a server
shutdown. When the files have changed on the filesystem, the
- server should be restarted to to re-cache them.</p>
+ server should be restarted to re-cache them.</p>
<p>Be careful with the <var>file-path</var> arguments: They have
to literally match the filesystem path Apache's URL-to-filename