instructs httpd to open the file when it is started and to re-use
this file-handle for all subsequent access to this file.</p>
- <div class="example"><p><code>
+ <pre class="prettyprint lang-config">
CacheFile /usr/local/apache2/htdocs/index.html
- </code></p></div>
+ </pre>
+
<p>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
start time (using the mmap system call). httpd will use the in-memory
contents for all subsequent accesses to this file.</p>
- <div class="example"><p><code>
+ <pre class="prettyprint lang-config">
MMapFile /usr/local/apache2/htdocs/index.html
- </code></p></div>
+ </pre>
+
<p>As with the
<code class="directive"><a href="./mod/mod_file_cache.html#cachefile">CacheFile</a></code> directive, any
instructs httpd to open the file when it is started and to re-use
this file-handle for all subsequent access to this file.</p>
- <example>
+ <highlight language="config">
CacheFile /usr/local/apache2/htdocs/index.html
- </example>
+ </highlight>
<p>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
start time (using the mmap system call). httpd will use the in-memory
contents for all subsequent accesses to this file.</p>
- <example>
+ <highlight language="config">
MMapFile /usr/local/apache2/htdocs/index.html
- </example>
+ </highlight>
<p>As with the
<directive module="mod_file_cache">CacheFile</directive> directive, any