- 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
@@ -558,7 +557,7 @@
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
Modified: httpd/httpd/branches/2.2.x/docs/manual/caching.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/caching.xml.fr?rev=743406&r1=743405&r2=743406&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/caching.xml.fr (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/caching.xml.fr Wed Feb 11 17:11:26 2009
@@ -77,7 +77,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.
@@ -104,9 +104,8 @@
CacheEnable
CacheDisable
- MMapStatic
- CacheFile
CacheFile
+ MMapFile
UseCanonicalName
CacheNegotiatedDocs
@@ -536,7 +535,7 @@
CacheEnable
CacheDisable
- MMapStatic
+ MMapFile
@@ -612,9 +611,9 @@
mémoire, la mise en cache propre à Apache sera nécessaire.
- 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
@@ -622,7 +621,7 @@
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
@@ -631,7 +630,7 @@
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
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_file_cache.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_file_cache.xml?rev=743406&r1=743405&r2=743406&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_file_cache.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_file_cache.xml Wed Feb 11 17:11:26 2009
@@ -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