- MMapStatic Caching
+ MMapFile Caching
mod_file_cache provides the
- MMapStatic directive, which
+ MMapFile 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.
- MMapStatic /usr/local/apache2/htdocs/index.html
+ MMapFile /usr/local/apache2/htdocs/index.html
As with the
@@ -533,7 +532,7 @@ sys 0m0.000s
changes in these files will not be picked up by Apache after it has
started.
- The MMapStatic
+
The MMapFile
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
diff --git a/docs/manual/caching.xml.fr b/docs/manual/caching.xml.fr
index 85d421d466..4decfd13aa 100644
--- a/docs/manual/caching.xml.fr
+++ b/docs/manual/caching.xml.fr
@@ -75,7 +75,7 @@
implémentation de mise en cache relativement simple, mises à part les
sections spécifiques sur les directives CacheFile et MMapStatic, les explications fournies
+ module="mod_file_cache">MMapFile, les explications fournies
dans ce guide concernent l'architecture de mise en cache du
module mod_cache.
@@ -101,9 +101,8 @@
CacheEnable
CacheDisable
- MMapStatic
- CacheFile
CacheFile
+ MMapFile
UseCanonicalName
CacheNegotiatedDocs
@@ -513,7 +512,7 @@ Vary: negotiate,accept-language,accept-charset
CacheEnable
CacheDisable
- MMapStatic
+ MMapFile
@@ -582,9 +581,9 @@ sys 0m0.000s
circonstances.
- Mise en cache à l'aide de la directive MMapStatic
+ Mise en cache à l'aide de la directive MMapFile
- La directive MMapStatic
+
La directive MMapFile
fournie par le module mod_file_cache 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 @@ sys 0m0.000s
toutes les demandes d'accès à ce fichier.
- MMapStatic /usr/local/apache2/htdocs/index.html
+ MMapFile /usr/local/apache2/htdocs/index.html
Comme dans le cas de la directive
@@ -601,7 +600,7 @@ sys 0m0.000s
ce dernier démarré.
La directive
- MMapStatic ne gardant
+ MMapFile 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
diff --git a/docs/manual/mod/mod_file_cache.xml b/docs/manual/mod/mod_file_cache.xml
index 9f777b6cde..78609e65c5 100644
--- a/docs/manual/mod/mod_file_cache.xml
+++ b/docs/manual/mod/mod_file_cache.xml
@@ -63,10 +63,7 @@
>MMapFile or CacheFile directives in the main server configuration.
- Not all platforms support both directives. For example, Apache
- on Windows does not currently support the MMapStatic directive, while
- other platforms, like AIX, support both. You will receive an error
+
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.
+ server should be restarted to re-cache them.
Be careful with the file-path arguments: They have
to literally match the filesystem path Apache's URL-to-filename