]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_cache_disk.html.ja.utf8
Merge in APR[-util] macros from branches/trunk-buildconf-noapr
[apache] / docs / manual / mod / mod_cache_disk.html.ja.utf8
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_cache_disk - Apache HTTP サーバ バージョン 2.5</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" /></head>
18 <body>
19 <div id="page-header">
20 <p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/quickreference.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.5</p>
22 <img alt="" src="../images/feather.png" /></div>
23 <div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div>
24 <div id="path">
25 <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP サーバ</a> &gt; <a href="http://httpd.apache.org/docs/">ドキュメンテーション</a> &gt; <a href="../">バージョン 2.5</a> &gt; <a href="./">モジュール</a></div>
26 <div id="page-content">
27 <div id="preamble"><h1>Apache モジュール mod_cache_disk</h1>
28 <div class="toplang">
29 <p><span>翻訳済み言語: </span><a href="../en/mod/mod_cache_disk.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
30 <a href="../fr/mod/mod_cache_disk.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
31 <a href="../ja/mod/mod_cache_disk.html" title="Japanese">&nbsp;ja&nbsp;</a> |
32 <a href="../ko/mod/mod_cache_disk.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
33 </div>
34 <div class="outofdate">この日本語訳はすでに古くなっている
35             可能性があります。
36             最近更新された内容を見るには英語版をご覧下さい。
37         </div>
38 <table class="module"><tr><th><a href="module-dict.html#Description">説明:</a></th><td>URI をキーにしたコンテンツキャッシュストレージ管理</td></tr>
39 <tr><th><a href="module-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
40 <tr><th><a href="module-dict.html#ModuleIdentifier">モジュール識別子:</a></th><td>cache_disk_module</td></tr>
41 <tr><th><a href="module-dict.html#SourceFile">ソースファイル:</a></th><td>mod_cache_disk.c</td></tr></table>
42 <h3>概要</h3>
43
44     <p><code class="module"><a href="../mod/mod_cache_disk.html">mod_cache_disk</a></code> はディスクを使用したストレージ
45     管理機構を実装しています。主に
46     <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> と組み合わせて使われます。</p>
47
48     <p>コンテンツのキャッシュへの保存と取得は URI に基づいたキーが使われます。
49     アクセス保護のかけられているコンテンツはキャッシュされません。</p>
50
51     <p>キャッシュの大きさを最大レベルで維持するために
52     <code class="program"><a href="../programs/htcacheclean.html">htcacheclean</a></code> を使うことができます。</p>
53
54     <div class="note"><h3>注:</h3>
55       <p><code class="module"><a href="../mod/mod_cache_disk.html">mod_cache_disk</a></code> は
56       <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> を必要とします</p>
57     </div>
58 </div>
59 <div id="quickview"><h3 class="directives">ディレクティブ</h3>
60 <ul id="toc">
61 <li><img alt="" src="../images/down.gif" /> <a href="#cachedirlength">CacheDirLength</a></li>
62 <li><img alt="" src="../images/down.gif" /> <a href="#cachedirlevels">CacheDirLevels</a></li>
63 <li><img alt="" src="../images/down.gif" /> <a href="#cachemaxfilesize">CacheMaxFileSize</a></li>
64 <li><img alt="" src="../images/down.gif" /> <a href="#cacheminfilesize">CacheMinFileSize</a></li>
65 <li><img alt="" src="../images/down.gif" /> <a href="#cachereadsize">CacheReadSize</a></li>
66 <li><img alt="" src="../images/down.gif" /> <a href="#cachereadtime">CacheReadTime</a></li>
67 <li><img alt="" src="../images/down.gif" /> <a href="#cacheroot">CacheRoot</a></li>
68 </ul>
69 <h3>Bugfix checklist</h3><ul class="seealso"><li><a href="https://www.apache.org/dist/httpd/CHANGES_2.4">httpd changelog</a></li><li><a href="https://bz.apache.org/bugzilla/buglist.cgi?bug_status=__open__&amp;list_id=144532&amp;product=Apache%20httpd-2&amp;query_format=specific&amp;order=changeddate%20DESC%2Cpriority%2Cbug_severity&amp;component=mod_cache_disk">Known issues</a></li><li><a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2&amp;component=mod_cache_disk">Report a bug</a></li></ul><h3>参照</h3>
70 <ul class="seealso">
71 <li><a href="#comments_section">コメント</a></li></ul></div>
72
73 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
74 <div class="directive-section"><h2><a name="CacheDirLength" id="CacheDirLength">CacheDirLength</a> <a name="cachedirlength" id="cachedirlength">ディレクティブ</a></h2>
75 <table class="directive">
76 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>サブディレクトリ名の文字数</td></tr>
77 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheDirLength <var>length</var></code></td></tr>
78 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheDirLength 2</code></td></tr>
79 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
80 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
81 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache_disk</td></tr>
82 </table>
83     <p><code class="directive">CacheDirLength</code> ディレクティブはキャッシュ
84     階層の各サブディレクトリの文字数を設定します。
85     <code class="directive">CacheDirLevels</code> と組み合わせて設定することで、
86     キャッシュ階層のおおよその構造を決めることができます。</p>
87     <p><code class="directive">CacheDirLength</code> が大きくて
88     <code class="directive">CacheDirLevels</code> が小さい場合、
89     比較的浅い階層になりますが、
90     各階層のサブディレクトリの数は多くなります。</p>
91
92     <div class="note">
93       <p><code class="directive">CacheDirLevels</code>*
94       <code class="directive"><a href="#cachedirlength">CacheDirLength</a></code> の
95       結果は 20 以内でなければなりません。</p>
96     </div>
97
98
99 </div>
100 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
101 <div class="directive-section"><h2><a name="CacheDirLevels" id="CacheDirLevels">CacheDirLevels</a> <a name="cachedirlevels" id="cachedirlevels">ディレクティブ</a></h2>
102 <table class="directive">
103 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>キャッシュのサブディレクトリの深さの数</td></tr>
104 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheDirLevels <var>levels</var></code></td></tr>
105 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheDirLevels 2</code></td></tr>
106 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
107 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
108 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache_disk</td></tr>
109 </table>
110     <p><code class="directive">CacheDirLevels</code> ディレクティブはキャッシュの
111     サブディレクトリの深さを設定します。キャッシュデータは <code class="directive"><a href="#cacheroot">CacheRoot</a></code> ディレクトリから
112     このディレクトリの深さ分下のディレクトリに保存されます。</p>
113     <p><code class="directive">CacheDirLevels</code> が大きくて
114     <code class="directive">CacheDirLength</code> が小さい場合、
115     比較的深い階層になりますが、
116     各階層のサブディレクトリの数は少なくなります。</p>
117
118     <div class="note">
119       <p><code class="directive">CacheDirLevels</code>*
120       <code class="directive"><a href="#cachedirlength">CacheDirLength</a></code> の
121       結果は 20 以内でなければなりません。</p>
122     </div>
123
124
125 </div>
126 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
127 <div class="directive-section"><h2><a name="CacheMaxFileSize" id="CacheMaxFileSize">CacheMaxFileSize</a> <a name="cachemaxfilesize" id="cachemaxfilesize">ディレクティブ</a></h2>
128 <table class="directive">
129 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>キャッシュに保管されるドキュメントの最大の (バイトでの) サイズ</td></tr>
130 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheMaxFileSize <var>bytes</var></code></td></tr>
131 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheMaxFileSize 1000000</code></td></tr>
132 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
133 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
134 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache_disk</td></tr>
135 </table>
136     <p><code class="directive">CacheMaxFileSize</code> ディレクティブは、ドキュメントを
137     キャッシュするかどうかを判定する、最大のサイズをバイト数で設定します。</p>
138
139     <div class="example"><p><code>
140       CacheMaxFileSize 64000
141     </code></p></div>
142
143 </div>
144 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
145 <div class="directive-section"><h2><a name="CacheMinFileSize" id="CacheMinFileSize">CacheMinFileSize</a> <a name="cacheminfilesize" id="cacheminfilesize">ディレクティブ</a></h2>
146 <table class="directive">
147 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>キャッシュに保管されるドキュメントの最小限の (バイトでの) 大きさ</td></tr>
148 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheMinFileSize <var>bytes</var></code></td></tr>
149 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheMinFileSize 1</code></td></tr>
150 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
151 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
152 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache_disk</td></tr>
153 </table>
154     <p><code class="directive">CacheMinFileSize</code> ディレクティブは、ドキュメントを
155     キャッシュするかどうかを判定する、最小のサイズをバイト数で設定します。</p>
156
157     <div class="example"><p><code>
158       CacheMinFileSize 64
159     </code></p></div>
160
161 </div>
162 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
163 <div class="directive-section"><h2><a name="CacheReadSize" id="CacheReadSize">CacheReadSize</a> <a name="cachereadsize" id="cachereadsize">ディレクティブ</a></h2>
164 <table class="directive">
165 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>The minimum size (in bytes) of the document to read and be cached before sending the data downstream</td></tr>
166 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code /></td></tr>
167 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess</td></tr>
168 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
169 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache_disk</td></tr>
170 </table><p>Documentation not yet translated. Please see English version of document.</p>
171 </div>
172 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
173 <div class="directive-section"><h2><a name="CacheReadTime" id="CacheReadTime">CacheReadTime</a> <a name="cachereadtime" id="cachereadtime">ディレクティブ</a></h2>
174 <table class="directive">
175 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>The minimum time (in milliseconds) that should elapse while reading before data is sent downstream</td></tr>
176 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code /></td></tr>
177 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess</td></tr>
178 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
179 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache_disk</td></tr>
180 </table><p>Documentation not yet translated. Please see English version of document.</p>
181 </div>
182 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
183 <div class="directive-section"><h2><a name="CacheRoot" id="CacheRoot">CacheRoot</a> <a name="cacheroot" id="cacheroot">ディレクティブ</a></h2>
184 <table class="directive">
185 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>キャッシュファイルが保管されるルートディレクトリ</td></tr>
186 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheRoot <var>directory</var></code></td></tr>
187 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
188 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
189 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache_disk</td></tr>
190 </table>
191     <p><code class="directive">CacheRoot</code> ディレクティブはキャッシュファイルを
192     保管するためのディスク上のディレクトリを指定します。<code class="module"><a href="../mod/mod_cache_disk.html">mod_cache_disk</a></code> モジュールが Apache サーバにロードされて
193     いるか、組み込まれていれば、このディレクティブは<em>必ず</em>
194     定義しなければなりません。
195     <code class="directive">CacheRoot</code> の値を指定しなければ、
196     設定ファイルの処理でエラーになります。<code class="directive"><a href="#cachedirlevels">CacheDirLevels</a></code> ディレクティブと <code class="directive"><a href="#cachedirlength">CacheDirLength</a></code> ディレクティブが
197     指定されたルートディレクトリ下のディレクトリ構成を定義します。</p>
198
199     <div class="example"><p><code>
200       CacheRoot c:/cacheroot
201     </code></p></div>
202
203 </div>
204 </div>
205 <div class="bottomlang">
206 <p><span>翻訳済み言語: </span><a href="../en/mod/mod_cache_disk.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
207 <a href="../fr/mod/mod_cache_disk.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
208 <a href="../ja/mod/mod_cache_disk.html" title="Japanese">&nbsp;ja&nbsp;</a> |
209 <a href="../ko/mod/mod_cache_disk.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
210 </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&amp;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>
211 <script type="text/javascript"><!--//--><![CDATA[//><!--
212 var comments_shortname = 'httpd';
213 var comments_identifier = 'http://httpd.apache.org/docs/trunk/mod/mod_cache_disk.html';
214 (function(w, d) {
215     if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
216         d.write('<div id="comments_thread"><\/div>');
217         var s = d.createElement('script');
218         s.type = 'text/javascript';
219         s.async = true;
220         s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
221         (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
222     }
223     else {
224         d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
225     }
226 })(window, document);
227 //--><!]]></script></div><div id="footer">
228 <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>
229 <p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/quickreference.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[//><!--
230 if (typeof(prettyPrint) !== 'undefined') {
231     prettyPrint();
232 }
233 //--><!]]></script>
234 </body></html>