github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_2_34/manual/mod/mod_disk_cache.html.ja.utf8 (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head> 4 <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> 5 <!-- 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 This file is generated from xml source: DO NOT EDIT 8 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 9 --> 10 <title>mod_disk_cache - Apache HTTP サーバ バージョン 2.2</title> 11 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 12 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 13 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> 14 <script src="../style/scripts/prettify.min.js" type="text/javascript"> 15 </script> 16 17 <link href="../images/favicon.ico" rel="shortcut icon" /><link href="http://httpd.apache.org/docs/current/mod/mod_disk_cache.html" rel="canonical" /></head> 18 <body> 19 <div id="page-header"> 20 <p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p> 21 <p class="apache">Apache HTTP サーバ バージョン 2.2</p> 22 <img alt="" src="../images/feather.gif" /></div> 23 <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> 24 <div id="path"> 25 <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP サーバ</a> > <a href="http://httpd.apache.org/docs/">ドキュメンテーション</a> > <a href="../">バージョン 2.2</a> > <a href="./">モジュール</a></div> 26 <div id="page-content"> 27 <div class="retired"><h4>Please note</h4> 28 <p> This document refers to a legacy release (<strong>2.2</strong>) of Apache httpd. The active release (<strong>2.4</strong>) is documented <a href="http://httpd.apache.org/docs/current">here</a>. If you have not already upgraded, please follow <a href="http://httpd.apache.org/docs/current/upgrading.html">this link</a> for more information.</p> 29 <p>You may follow <a href="http://httpd.apache.org/docs/current/mod/mod_disk_cache.html">this link</a> to go to the current version of this document.</p></div><div id="preamble"><h1>Apache モジュール mod_disk_cache</h1> 30 <div class="toplang"> 31 <p><span>翻訳済み言語: </span><a href="../en/mod/mod_disk_cache.html" hreflang="en" rel="alternate" title="English"> en </a> | 32 <a href="../ja/mod/mod_disk_cache.html" title="Japanese"> ja </a> | 33 <a href="../ko/mod/mod_disk_cache.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> 34 </div> 35 <div class="outofdate">この日本語訳はすでに古くなっている 36 可能性があります。 37 最近更新された内容を見るには英語版をご覧下さい。 38 </div> 39 <table class="module"><tr><th><a href="module-dict.html#Description">説明:</a></th><td>URI をキーにしたコンテンツキャッシュストレージ管理</td></tr> 40 <tr><th><a href="module-dict.html#Status">ステータス:</a></th><td>Extension</td></tr> 41 <tr><th><a href="module-dict.html#ModuleIdentifier">モジュール識別子:</a></th><td>disk_cache_module</td></tr> 42 <tr><th><a href="module-dict.html#SourceFile">ソースファイル:</a></th><td>mod_disk_cache.c</td></tr></table> 43 <h3>概要</h3> 44 45 <p><code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code> はディスクを使用したストレージ 46 管理機構を実装しています。主に 47 <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> と組み合わせて使われます。</p> 48 49 <p>コンテンツのキャッシュへの保存と取得は URI に基づいたキーが使われます。 50 アクセス保護のかけられているコンテンツはキャッシュされません。</p> 51 52 <p>キャッシュの大きさを最大レベルで維持するために 53 <code class="program"><a href="../programs/htcacheclean.html">htcacheclean</a></code> を使うことができます。</p> 54 55 <div class="note"><h3>注:</h3> 56 <p><code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code> は 57 <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> を必要とします</p> 58 </div> 59 </div> 60 <div id="quickview"><h3 class="directives">ディレクティブ</h3> 61 <ul id="toc"> 62 <li><img alt="" src="../images/down.gif" /> <a href="#cachedirlength">CacheDirLength</a></li> 63 <li><img alt="" src="../images/down.gif" /> <a href="#cachedirlevels">CacheDirLevels</a></li> 64 <li><img alt="" src="../images/down.gif" /> <a href="#cachemaxfilesize">CacheMaxFileSize</a></li> 65 <li><img alt="" src="../images/down.gif" /> <a href="#cacheminfilesize">CacheMinFileSize</a></li> 66 <li><img alt="" src="../images/down.gif" /> <a href="#cacheroot">CacheRoot</a></li> 67 </ul> 68 <ul class="seealso"><li><a href="#comments_section">コメント</a></li></ul></div> 69 70 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 71 <div class="directive-section"><h2><a name="CacheDirLength" id="CacheDirLength">CacheDirLength</a> <a name="cachedirlength" id="cachedirlength">ディレクティブ</a></h2> 72 <table class="directive"> 73 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>サブディレクトリ名の文字数</td></tr> 74 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheDirLength <var>length</var></code></td></tr> 75 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheDirLength 2</code></td></tr> 76 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr> 77 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr> 78 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_disk_cache</td></tr> 79 </table> 80 <p><code class="directive">CacheDirLength</code> ディレクティブはキャッシュ 81 階層の各サブディレクトリの文字数を設定します。</p> 82 83 <div class="note"> 84 <p><code class="directive">CacheDirLevels</code>* 85 <code class="directive"><a href="#cachedirlength">CacheDirLength</a></code> の 86 結果は 20 以内でなければなりません。</p> 87 </div> 88 89 <div class="example"><p><code> 90 CacheDirLength 4 91 </code></p></div> 92 93 </div> 94 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 95 <div class="directive-section"><h2><a name="CacheDirLevels" id="CacheDirLevels">CacheDirLevels</a> <a name="cachedirlevels" id="cachedirlevels">ディレクティブ</a></h2> 96 <table class="directive"> 97 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>キャッシュのサブディレクトリの深さの数</td></tr> 98 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheDirLevels <var>levels</var></code></td></tr> 99 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheDirLevels 3</code></td></tr> 100 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr> 101 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr> 102 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_disk_cache</td></tr> 103 </table> 104 <p><code class="directive">CacheDirLevels</code> ディレクティブはキャッシュの 105 サブディレクトリの深さを設定します。キャッシュデータは <code class="directive"><a href="#cacheroot">CacheRoot</a></code> ディレクトリから 106 このディレクトリの深さ分下のディレクトリに保存されます。</p> 107 108 <div class="note"> 109 <p><code class="directive">CacheDirLevels</code>* 110 <code class="directive"><a href="#cachedirlength">CacheDirLength</a></code> の 111 結果は 20 以内でなければなりません。</p> 112 </div> 113 114 <div class="example"><p><code> 115 CacheDirLevels 5 116 </code></p></div> 117 118 </div> 119 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 120 <div class="directive-section"><h2><a name="CacheMaxFileSize" id="CacheMaxFileSize">CacheMaxFileSize</a> <a name="cachemaxfilesize" id="cachemaxfilesize">ディレクティブ</a></h2> 121 <table class="directive"> 122 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>キャッシュに保管されるドキュメントの最大の (バイトでの) サイズ</td></tr> 123 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheMaxFileSize <var>bytes</var></code></td></tr> 124 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheMaxFileSize 1000000</code></td></tr> 125 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr> 126 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr> 127 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_disk_cache</td></tr> 128 </table> 129 <p><code class="directive">CacheMaxFileSize</code> ディレクティブは、ドキュメントを 130 キャッシュするかどうかを判定する、最大のサイズをバイト数で設定します。</p> 131 132 <div class="example"><p><code> 133 CacheMaxFileSize 64000 134 </code></p></div> 135 136 </div> 137 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 138 <div class="directive-section"><h2><a name="CacheMinFileSize" id="CacheMinFileSize">CacheMinFileSize</a> <a name="cacheminfilesize" id="cacheminfilesize">ディレクティブ</a></h2> 139 <table class="directive"> 140 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>キャッシュに保管されるドキュメントの最小限の (バイトでの) 大きさ</td></tr> 141 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheMinFileSize <var>bytes</var></code></td></tr> 142 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheMinFileSize 1</code></td></tr> 143 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr> 144 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr> 145 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_disk_cache</td></tr> 146 </table> 147 <p><code class="directive">CacheMinFileSize</code> ディレクティブは、ドキュメントを 148 キャッシュするかどうかを判定する、最小のサイズをバイト数で設定します。</p> 149 150 <div class="example"><p><code> 151 CacheMinFileSize 64 152 </code></p></div> 153 154 </div> 155 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 156 <div class="directive-section"><h2><a name="CacheRoot" id="CacheRoot">CacheRoot</a> <a name="cacheroot" id="cacheroot">ディレクティブ</a></h2> 157 <table class="directive"> 158 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>キャッシュファイルが保管されるルートディレクトリ</td></tr> 159 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheRoot <var>directory</var></code></td></tr> 160 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr> 161 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr> 162 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_disk_cache</td></tr> 163 </table> 164 <p><code class="directive">CacheRoot</code> ディレクティブはキャッシュファイルを 165 保管するためのディスク上のディレクトリを指定します。<code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code> モジュールが Apache サーバにロードされて 166 いるか、組み込まれていれば、このディレクティブは<em>必ず</em> 167 定義しなければなりません。 168 <code class="directive">CacheRoot</code> の値を指定しなければ、 169 設定ファイルの処理でエラーになります。<code class="directive"><a href="#cachedirlevels">CacheDirLevels</a></code> ディレクティブと <code class="directive"><a href="#cachedirlength">CacheDirLength</a></code> ディレクティブが 170 指定されたルートディレクトリ下のディレクトリ構成を定義します。</p> 171 172 <div class="example"><p><code> 173 CacheRoot c:/cacheroot 174 </code></p></div> 175 176 </div> 177 </div> 178 <div class="bottomlang"> 179 <p><span>翻訳済み言語: </span><a href="../en/mod/mod_disk_cache.html" hreflang="en" rel="alternate" title="English"> en </a> | 180 <a href="../ja/mod/mod_disk_cache.html" title="Japanese"> ja </a> | 181 <a href="../ko/mod/mod_disk_cache.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> 182 </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">コメント</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> 183 <script type="text/javascript"><!--//--><![CDATA[//><!-- 184 var comments_shortname = 'httpd'; 185 var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_disk_cache.html'; 186 (function(w, d) { 187 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 188 d.write('<div id="comments_thread"><\/div>'); 189 var s = d.createElement('script'); 190 s.type = 'text/javascript'; 191 s.async = true; 192 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 193 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 194 } 195 else { 196 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 197 } 198 })(window, document); 199 //--><!]]></script></div><div id="footer"> 200 <p class="apache">Copyright 2017 The Apache Software Foundation.<br />この文書は <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> のライセンスで提供されています。.</p> 201 <p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- 202 if (typeof(prettyPrint) !== 'undefined') { 203 prettyPrint(); 204 } 205 //--><!]]></script> 206 </body></html>