]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_cache.html.ja.utf8
Update transformations.
[apache] / docs / manual / mod / mod_cache.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         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5               This file is generated from xml source: DO NOT EDIT
6         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7       -->
8 <title>mod_cache - Apache HTTP サーバ</title>
9 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
13 <body>
14 <div id="page-header">
15 <p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p>
16 <p class="apache">Apache HTTP サーバ バージョン 2.3</p>
17 <img alt="" src="../images/feather.gif" /></div>
18 <div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div>
19 <div id="path">
20 <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="../">バージョン
21             2.3</a> &gt; <a href="./">モジュール</a></div>
22 <div id="page-content">
23 <div id="preamble"><h1>Apache モジュール mod_cache</h1>
24 <div class="toplang">
25 <p><span>言語: </span><a href="../en/mod/mod_cache.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
26 <a href="../fr/mod/mod_cache.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
27 <a href="../ja/mod/mod_cache.html" title="Japanese">&nbsp;ja&nbsp;</a> |
28 <a href="../ko/mod/mod_cache.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
29 </div>
30 <div class="outofdate">この日本語訳はすでに古くなっている可能性があります。
31           更新された内容を見るには英語版をご覧下さい。</div>
32 <table class="module"><tr><th><a href="module-dict.html#Description">説明:</a></th><td>URI をキーにしたコンテンツのキャッシュ</td></tr>
33 <tr><th><a href="module-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
34 <tr><th><a href="module-dict.html#ModuleIdentifier">モジュール識別子:</a></th><td>cache_module</td></tr>
35 <tr><th><a href="module-dict.html#SourceFile">ソースファイル:</a></th><td>mod_cache.c</td></tr></table>
36 <h3>概要</h3>
37
38     <div class="warning">このモジュールは <code class="directive"><a href="../mod/mod_authz_host.html#allow">Allow</a></code> や <code class="directive"><a href="../mod/mod_authz_host.html#deny">Deny</a></code> ディレクティブを無視しますので、
39     注意して使って下さい。クライアントのホスト名、アドレスや環境変数を使って
40     アクセスを制限したいコンテンツに対してはキャッシュ機能を有効にするべきではありません。
41     </div>
42
43     <p><code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> はローカルのコンテンツやプロキシされた
44     コンテンツをキャッシュするために使われる <a href="http://www.ietf.org/rfc/rfc2616.txt">RFC 2616</a> 準拠の
45     HTTP コンテンツキャッシュを実装しています。<code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code>
46     の動作にはストレージを管理するモジュールが必要です。標準
47     Apache 配布には二つストレージ管理モジュールが含まれています:</p>
48     
49     <dl>
50     <dt><code class="module"><a href="../mod/mod_cache_disk.html">mod_cache_disk</a></code></dt>
51     <dd>ディスクを使用したストレージ管理機構を実装しています。</dd>
52
53     <dt><code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code></dt>
54     <dd>メモリを使用したストレージ管理機構を実装しています。
55     <code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code> は次の二つのモードのどちらかで動作する
56     ように設定できます: オープンされているファイル記述子をキャッシュするモードか、
57     ヒープ上でのオブジェクトの自体をキャッシュをするモードです。
58     <code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code> はローカルで生成されるコンテンツや、
59     <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> が
60     <code class="directive"><a href="../mod/mod_proxy.html#proxypass">ProxyPass</a></code> を使って設定されている
61     ときの (つまり<dfn>リバースプロキシ</dfn> での) バックエンドサーバの
62     コンテンツをキャッシュするのに使えます。</dd>
63     </dl>
64
65     <p>コンテンツのキャッシュへの保存と取得は URI に基づいたキーが使われます。
66     アクセス保護のかけられているコンテンツはキャッシュされません。</p>
67     <p>より詳細な解説や例については<a href="../caching.html">キャッシュ機能</a>
68     を参照してください。</p>
69 </div>
70 <div id="quickview"><h3 class="directives">ディレクティブ</h3>
71 <ul id="toc">
72 <li><img alt="" src="../images/down.gif" /> <a href="#cachedefaultexpire">CacheDefaultExpire</a></li>
73 <li><img alt="" src="../images/down.gif" /> <a href="#cachedetailheader">CacheDetailHeader</a></li>
74 <li><img alt="" src="../images/down.gif" /> <a href="#cachedisable">CacheDisable</a></li>
75 <li><img alt="" src="../images/down.gif" /> <a href="#cacheenable">CacheEnable</a></li>
76 <li><img alt="" src="../images/down.gif" /> <a href="#cacheheader">CacheHeader</a></li>
77 <li><img alt="" src="../images/down.gif" /> <a href="#cacheignorecachecontrol">CacheIgnoreCacheControl</a></li>
78 <li><img alt="" src="../images/down.gif" /> <a href="#cacheignoreheaders">CacheIgnoreHeaders</a></li>
79 <li><img alt="" src="../images/down.gif" /> <a href="#cacheignorenolastmod">CacheIgnoreNoLastMod</a></li>
80 <li><img alt="" src="../images/down.gif" /> <a href="#cacheignorequerystring">CacheIgnoreQueryString</a></li>
81 <li><img alt="" src="../images/down.gif" /> <a href="#cacheignoreurlsessionidentifiers">CacheIgnoreURLSessionIdentifiers</a></li>
82 <li><img alt="" src="../images/down.gif" /> <a href="#cachekeybaseurl">CacheKeyBaseURL</a></li>
83 <li><img alt="" src="../images/down.gif" /> <a href="#cachelastmodifiedfactor">CacheLastModifiedFactor</a></li>
84 <li><img alt="" src="../images/down.gif" /> <a href="#cachelock">CacheLock</a></li>
85 <li><img alt="" src="../images/down.gif" /> <a href="#cachelockmaxage">CacheLockMaxAge</a></li>
86 <li><img alt="" src="../images/down.gif" /> <a href="#cachelockpath">CacheLockPath</a></li>
87 <li><img alt="" src="../images/down.gif" /> <a href="#cachemaxexpire">CacheMaxExpire</a></li>
88 <li><img alt="" src="../images/down.gif" /> <a href="#cacheminexpire">CacheMinExpire</a></li>
89 <li><img alt="" src="../images/down.gif" /> <a href="#cachequickhandler">CacheQuickHandler</a></li>
90 <li><img alt="" src="../images/down.gif" /> <a href="#cachestaleonerror">CacheStaleOnError</a></li>
91 <li><img alt="" src="../images/down.gif" /> <a href="#cachestoreexpired">CacheStoreExpired</a></li>
92 <li><img alt="" src="../images/down.gif" /> <a href="#cachestorenostore">CacheStoreNoStore</a></li>
93 <li><img alt="" src="../images/down.gif" /> <a href="#cachestoreprivate">CacheStorePrivate</a></li>
94 </ul>
95 <h3>トピック</h3>
96 <ul id="topics">
97 <li><img alt="" src="../images/down.gif" /> <a href="#related">関連モジュールとディレクティブ</a></li>
98 <li><img alt="" src="../images/down.gif" /> <a href="#sampleconf">サンプル設定</a></li>
99 </ul><h3>参照</h3>
100 <ul class="seealso">
101 <li><a href="../caching.html">キャッシュ機能</a></li>
102 </ul></div>
103 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
104 <div class="section">
105 <h2><a name="related" id="related">関連モジュールとディレクティブ</a></h2>
106     <table class="related"><tr><th>関連モジュール</th><th>関連ディレクティブ</th></tr><tr><td><ul><li><code class="module"><a href="../mod/mod_cache_disk.html">mod_cache_disk</a></code></li><li><code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code></li></ul></td><td><ul><li><code class="directive"><a href="../mod/mod_cache_disk.html#cacheroot">CacheRoot</a></code></li><li><code class="directive"><a href="../mod/mod_cache_disk.html#cachedirlevels">CacheDirLevels</a></code></li><li><code class="directive"><a href="../mod/mod_cache_disk.html#cachedirlength">CacheDirLength</a></code></li><li><code class="directive"><a href="../mod/mod_cache_disk.html#cacheminfilesize">CacheMinFileSize</a></code></li><li><code class="directive"><a href="../mod/mod_cache_dist.html#cachemaxfilesize">CacheMaxFileSize</a></code></li><li><code class="directive"><a href="../mod/mod_mem_cache.html#mcachesize">MCacheSize</a></code></li><li><code class="directive"><a href="../mod/mod_mem_cache.html#mcachemaxobjectcount">MCacheMaxObjectCount</a></code></li><li><code class="directive"><a href="../mod/mod_mem_cache.html#mcacheminobjectsize">MCacheMinObjectSize</a></code></li><li><code class="directive"><a href="../mod/mod_mem_cache.html#mcachemaxobjectsize">MCacheMaxObjectSize</a></code></li><li><code class="directive"><a href="../mod/mod_mem_cache.html#mcacheremovalalgorithm">MCacheRemovalAlgorithm</a></code></li><li><code class="directive"><a href="../mod/mod_mem_cache.html#mcachemaxstreamingbuffer">MCacheMaxStreamingBuffer</a></code></li></ul></td></tr></table>
107 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
108 <div class="section">
109 <h2><a name="sampleconf" id="sampleconf">サンプル設定</a></h2>
110     <div class="example"><h3>Sample httpd.conf</h3><p><code>
111       #<br />
112       # Sample Cache Configuration<br />
113       #<br />
114       LoadModule cache_module modules/mod_cache.so<br />
115       <br />
116       &lt;IfModule mod_cache.c&gt;<br />
117       <span class="indent">
118         #LoadModule cache_disk_module modules/mod_cache_disk.so<br />
119         # If you want to use mod_cache_disk instead of mod_mem_cache,<br />
120         # uncomment the line above and comment out the LoadModule line below.<br />
121         &lt;IfModule mod_cache_disk.c&gt;<br />
122         <span class="indent">
123           CacheRoot c:/cacheroot<br />
124           CacheEnable disk  /<br />
125           CacheDirLevels 5<br />
126           CacheDirLength 3<br />
127         </span>
128         &lt;/IfModule&gt; <br />
129         <br />
130         LoadModule mem_cache_module modules/mod_mem_cache.so<br />
131         &lt;IfModule mod_mem_cache.c&gt;<br />
132         <span class="indent">
133           CacheEnable mem  /<br />
134           MCacheSize 4096<br />
135           MCacheMaxObjectCount 100<br />
136           MCacheMinObjectSize 1<br />
137           MCacheMaxObjectSize 2048<br />
138         </span>
139         &lt;/IfModule&gt;<br />
140         <br />
141         # When acting as a proxy, don't cache the list of security updates<br />
142         CacheDisable http://security.update.server/update-list/<br />
143       </span>
144       &lt;/IfModule&gt;
145     </code></p></div>
146 </div>
147 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
148 <div class="directive-section"><h2><a name="CacheDefaultExpire" id="CacheDefaultExpire">CacheDefaultExpire</a> <a name="cachedefaultexpire" id="cachedefaultexpire">ディレクティブ</a></h2>
149 <table class="directive">
150 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>期日が指定されていないときにドキュメントをキャッシュするデフォルトの期間</td></tr>
151 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheDefaultExpire <var>seconds</var></code></td></tr>
152 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheDefaultExpire 3600 (1時間)</code></td></tr>
153 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
154 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
155 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
156 </table>
157     <p><code class="directive">CacheDefaultExpire</code> ディレクティブは、ドキュメントに
158     有効期限 (expiry) や最終修正時刻 (last-modified) が指定されていない場合の
159     デフォルトの時間を指定します。<code class="directive">CacheMaxExpire</code> 
160     ディレクティブで指定された値はこの設定を上書き<em>しません</em>。</p>
161
162     <div class="example"><p><code>
163       CacheDefaultExpire 86400
164     </code></p></div>
165
166 </div>
167 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
168 <div class="directive-section"><h2><a name="CacheDetailHeader" id="CacheDetailHeader">CacheDetailHeader</a> <a name="cachedetailheader" id="cachedetailheader">ディレクティブ</a></h2>
169 <table class="directive">
170 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>Add an X-Cache-Detail header to the response.</td></tr>
171 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheDetailHeader <var>on|off</var></code></td></tr>
172 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheDetailHeader off</code></td></tr>
173 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess</td></tr>
174 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
175 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
176 <tr><th><a href="directive-dict.html#Compatibility">互換性:</a></th><td>Available in Apache 2.3.9 and later</td></tr>
177 </table><p>The documentation for this directive has
178             not been translated yet. Please have a look at the English
179             version.</p></div>
180 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
181 <div class="directive-section"><h2><a name="CacheDisable" id="CacheDisable">CacheDisable</a> <a name="cachedisable" id="cachedisable">ディレクティブ</a></h2>
182 <table class="directive">
183 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>特定の URL をキャッシュしない</td></tr>
184 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheDisable <var> url-string</var></code></td></tr>
185 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
186 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
187 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
188 </table>
189     <p><code class="directive">CacheDisable</code> ディレクティブで
190     <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> モジュールが <var>url-string</var> 以下の
191     URL をキャッシュ<em>しない</em>ようにします。</p>
192
193     <div class="example"><h3>例</h3><p><code>
194       CacheDisable /local_files
195     </code></p></div>
196
197 </div>
198 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
199 <div class="directive-section"><h2><a name="CacheEnable" id="CacheEnable">CacheEnable</a> <a name="cacheenable" id="cacheenable">ディレクティブ</a></h2>
200 <table class="directive">
201 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>指定したストレージ管理方式を使ってのキャッシュを有効にする</td></tr>
202 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheEnable <var>cache_type</var> <var>url-string</var></code></td></tr>
203 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
204 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
205 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
206 </table>
207     <p><code class="directive">CacheEnable</code> ディレクティブで <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> 
208     モジュールが <var>url-string</var> 以下の URL をキャッシュするようにします。
209     キャッシュストレージ管理方式は <var>cache_type</var> 引数で指定します。
210     <var>cache_type</var> <code> mem</code> で、
211     <code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code> で実装されているメモリを使ったストレージ
212     管理方式を使うように <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> に指示します。
213     <var>cache_type</var> <code>disk</code> で、
214     <code class="module"><a href="../mod/mod_cache_disk.html">mod_cache_disk</a></code> で実装されているディスクを使ったストレージ
215     管理を使うように <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> に指示します。
216     <var>cache_type</var> <code>fd</code> は <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> に
217     <code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code> により実装されているファイル記述子の
218     キャッシュを使うように指示します。</p>
219
220     <p>(下の例のように) <code class="directive">CacheEnable</code> ディレクティブの
221     URL 空間が重複しているときは、該当するストレージ方式を順に試して、
222     実際にリクエストの処理ができると、その方式で処理します。
223     ストレージ管理方式が実行される順番は設定ファイル中の
224     <code class="directive">CacheEnable</code> の順番により決定されます。</p>
225
226     <div class="example"><p><code>
227       CacheEnable  mem   /manual<br />
228       CacheEnable  fd    /images<br />
229       CacheEnable  disk  /<br />
230     </code></p></div>
231
232     <p>フォワードプロクシサーバとして動作する場合、
233     <var>url-string</var> を使って、キャッシュを有効にするリモートサイトや
234     プロクシプロトコルを指定することもできます。</p>
235
236     <div class="example"><p><code>
237       # Cache proxied url's<br />
238       CacheEnable  disk  /<br /><br />
239       # Cache FTP-proxied url's<br />
240       CacheEnable  disk  ftp://<br /><br />
241       # Cache content from www.apache.org<br />
242       CacheEnable  disk  http://www.apache.org/<br />
243     </code></p></div>
244
245
246 </div>
247 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
248 <div class="directive-section"><h2><a name="CacheHeader" id="CacheHeader">CacheHeader</a> <a name="cacheheader" id="cacheheader">ディレクティブ</a></h2>
249 <table class="directive">
250 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>Add an X-Cache header to the response.</td></tr>
251 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheHeader <var>on|off</var></code></td></tr>
252 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheHeader off</code></td></tr>
253 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess</td></tr>
254 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
255 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
256 <tr><th><a href="directive-dict.html#Compatibility">互換性:</a></th><td>Available in Apache 2.3.9 and later</td></tr>
257 </table><p>The documentation for this directive has
258             not been translated yet. Please have a look at the English
259             version.</p></div>
260 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
261 <div class="directive-section"><h2><a name="CacheIgnoreCacheControl" id="CacheIgnoreCacheControl">CacheIgnoreCacheControl</a> <a name="cacheignorecachecontrol" id="cacheignorecachecontrol">ディレクティブ</a></h2>
262 <table class="directive">
263 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>キャッシュされているコンテンツを返さないようにクライアントから
264 リクエストされても無視する</td></tr>
265 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheIgnoreCacheControl On|Off</code></td></tr>
266 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheIgnoreCacheControl Off</code></td></tr>
267 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
268 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
269 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
270 </table>
271     <p>Cache-Control: no-cache ヘッダや Pragma: no-store ヘッダのあるリクエストに
272     対しては、通常キャッシュを使いません。<code class="directive">CacheIgnoreCacheControl</code> 
273     ディレクティブを使うと、この動作を上書きできます。
274     <code class="directive">CacheIgnoreCacheControl</code> On とすると、
275     リクエストに no-cache という値があっても、キャッシュを使ってドキュメントを
276     返すようになります。認証を必要とするドキュメントは<em>決して</em>
277     キャッシュされません。</p>
278
279     <div class="example"><p><code>
280       CacheIgnoreCacheControl On
281     </code></p></div>
282
283     <div class="warning"><h3>警告</h3>
284        このディレクティブを使うと、ドキュメント取得時にキャッシュを使わないように
285        クライアントがリクエストしているにもかかわらず、キャッシュを
286        使うようになります。その結果、
287        古いコンテンツが送られ続けることになってしまうかもしれません。
288     </div>
289
290 <h3>参照</h3>
291 <ul>
292 <li><code class="directive"><a href="#cachestoreprivate">CacheStorePrivate</a></code></li>
293 <li><code class="directive"><a href="#cachestorenostore">CacheStoreNoStore</a></code></li>
294 </ul>
295 </div>
296 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
297 <div class="directive-section"><h2><a name="CacheIgnoreHeaders" id="CacheIgnoreHeaders">CacheIgnoreHeaders</a> <a name="cacheignoreheaders" id="cacheignoreheaders">ディレクティブ</a></h2>
298 <table class="directive">
299 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>指定された HTTP ヘッダをキャッシュに保存しない。
300 </td></tr>
301 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheIgnoreHeaders <var>header-string</var> [<var>header-string</var>] ...</code></td></tr>
302 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheIgnoreHeaders None</code></td></tr>
303 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
304 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
305 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
306 </table>
307     <p>RFC 2616 によると、hop-by-hop HTTP ヘッダはキャッシュには保管されません。
308     以下のヘッダは hop-by-hop ヘッダに該当しますので、
309     <code class="directive">CacheIgnoreHeaders</code>
310     の設定に<em>関係なく</em>キャッシュには保管されません:</p>
311     <ul>
312       <li><code>Connection</code></li>
313       <li><code>Keep-Alive</code></li>
314       <li><code>Proxy-Authenticate</code></li>
315       <li><code>Proxy-Authorization</code></li>
316       <li><code>TE</code></li>
317       <li><code>Trailers</code></li>
318       <li><code>Transfer-Encoding</code></li>
319       <li><code>Upgrade</code></li>
320     </ul>
321
322     <p><code class="directive">CacheIgnoreHeaders</code> で
323     キャッシュに保管しない追加の HTTP ヘッダを指定します。
324     例えば、クッキーをキャッシュに保管しないようにした方がよい場合も
325     あるでしょう。</p>
326
327     <p><code class="directive">CacheIgnoreHeaders</code> の引数は、
328     キャッシュに保管しない HTTP ヘッダを空白区切りにしたリスト形式です。
329     キャッシュに保管しないヘッダが hop-by-hop ヘッダだけの場合
330     (RFC 2616 準拠の動作のとき) は、
331     <code class="directive">CacheIgnoreHeaders</code> を <code>None</code>
332     に設定できます。</p>
333
334     <div class="example"><h3>例 1</h3><p><code>
335       CacheIgnoreHeaders Set-Cookie
336     </code></p></div>
337
338     <div class="example"><h3>例 2</h3><p><code>
339       CacheIgnoreHeaders None
340     </code></p></div>
341
342     <div class="warning"><h3>警告:</h3>
343       <code>Expires</code> のような適切のキャッシュ管理のために必要な
344       ヘッダが <code class="directive">CacheIgnoreHeaders</code> の設定により
345       保管されていないときは、mod_cache の動作は定義されていません。
346     </div>
347
348 </div>
349 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
350 <div class="directive-section"><h2><a name="CacheIgnoreNoLastMod" id="CacheIgnoreNoLastMod">CacheIgnoreNoLastMod</a> <a name="cacheignorenolastmod" id="cacheignorenolastmod">ディレクティブ</a></h2>
351 <table class="directive">
352 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>応答に Last Modified が無くても気にしないようにする</td></tr>
353 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheIgnoreNoLastMod On|Off</code></td></tr>
354 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheIgnoreNoLastMod Off</code></td></tr>
355 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
356 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
357 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
358 </table>
359     <p>通常、Last-Modified による最終修正時刻の無いドキュメントはキャッシュ
360     されません。(例えば <code class="module"><a href="../mod/mod_include.html">mod_include</a></code> による処理のときなどに)
361     Last-Modified 時刻が消去されたり、そもそも最初から提供されていない
362     状況があります。<code class="directive">CacheIgnoreNoLastMod</code> 
363     ディレクティブを使うと、Last-Modified 日時が指定されていない
364     ドキュメントでもキャッシュするように指定できます。ドキュメントに
365     最終修正時刻 (Last-Modified) 有効期限 (expiry) がない場合は、有効期限の
366     生成に <code class="directive">CacheDefaultExpire</code> が使われます。</p>
367
368     <div class="example"><p><code>
369       CacheIgnoreNoLastMod On
370     </code></p></div>
371
372 </div>
373 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
374 <div class="directive-section"><h2><a name="CacheIgnoreQueryString" id="CacheIgnoreQueryString">CacheIgnoreQueryString</a> <a name="cacheignorequerystring" id="cacheignorequerystring">ディレクティブ</a></h2>
375 <table class="directive">
376 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>キャッシュ時にクエリーストリングを無視する</td></tr>
377 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheIgnoreQueryString On|Off</code></td></tr>
378 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheIgnoreQueryString Off</code></td></tr>
379 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
380 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
381 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
382 </table>
383     <p>クエリーストリング付のリクエストについては通常、クエリーストリングごとに
384     個別にキャッシュされます。
385     キャッシュされるのは有効期限が指定されている場合のみで、これは
386     RFC 2616/13.9 に従ったものです。
387     <code class="directive">CacheIgnoreQueryString</code> ディレクティブを使うと
388     有効期限が指定されていなくてもキャッシュしますし、
389     クエリーストリングが異なっていてもキャッシュを返します。
390     このディレクティブが有効になっている場合、キャッシュ機能の側面からみると、
391     あたかもリクエストにクエリーストリングがついていなかったかのように扱います。</p>
392
393     <div class="example"><p><code>
394       CacheIgnoreQueryString On
395     </code></p></div>
396
397
398 </div>
399 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
400 <div class="directive-section"><h2><a name="CacheIgnoreURLSessionIdentifiers" id="CacheIgnoreURLSessionIdentifiers">CacheIgnoreURLSessionIdentifiers</a> <a name="cacheignoreurlsessionidentifiers" id="cacheignoreurlsessionidentifiers">ディレクティブ</a></h2>
401 <table class="directive">
402 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>Ignore defined session identifiers encoded in the URL when caching
403 </td></tr>
404 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheIgnoreURLSessionIdentifiers <var>identifier</var> [<var>identifier</var>] ...</code></td></tr>
405 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheIgnoreURLSessionIdentifiers None</code></td></tr>
406 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
407 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
408 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
409 </table><p>The documentation for this directive has
410             not been translated yet. Please have a look at the English
411             version.</p></div>
412 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
413 <div class="directive-section"><h2><a name="CacheKeyBaseURL" id="CacheKeyBaseURL">CacheKeyBaseURL</a> <a name="cachekeybaseurl" id="cachekeybaseurl">ディレクティブ</a></h2>
414 <table class="directive">
415 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>Override the base URL of reverse proxied cache keys.</td></tr>
416 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheKeyBaseURL <var>URL</var></code></td></tr>
417 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheKeyBaseURL http://example.com</code></td></tr>
418 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
419 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
420 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
421 <tr><th><a href="directive-dict.html#Compatibility">互換性:</a></th><td>Available in Apache 2.3.9 and later</td></tr>
422 </table><p>The documentation for this directive has
423             not been translated yet. Please have a look at the English
424             version.</p></div>
425 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
426 <div class="directive-section"><h2><a name="CacheLastModifiedFactor" id="CacheLastModifiedFactor">CacheLastModifiedFactor</a> <a name="cachelastmodifiedfactor" id="cachelastmodifiedfactor">ディレクティブ</a></h2>
427 <table class="directive">
428 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>LastModified の日付に基づいて有効期限 (expiry) 
429 を計算するための重みを指定する
430 </td></tr>
431 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheLastModifiedFactor <var>float</var></code></td></tr>
432 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheLastModifiedFactor 0.1</code></td></tr>
433 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
434 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
435 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
436 </table>
437     <p>ドキュメントに Last-Modified の日付が無いけれども有効期限 (expiry) 
438     の日付があるというときに、有効期限を最終修正時刻からの経過時間として
439     計算するようにできます。有効期限を次の計算式に従って生成するのですが、
440     そのときに使われる <var>factor</var> を
441     <code class="directive">CacheLastModifiedFactor</code> ディレクティブで指定します。
442     </p>
443
444     <p><code>expiry-period = time-since-last-modified-date * <var>factor</var>
445     expiry-date = current-date + expiry-period</code></p>
446
447     <p>例えば、ドキュメントが 10 時間前に最後に修正されていて、
448     <var>factor</var> が 0.1 であれば、期日は 10*0.1 = 1 時間に
449     設定されます。現在時刻が 3:00pm であれば、計算された期日は
450     3:00pm + 1hour = 4:00pm になります。</p>
451
452     <p>期日が <code class="directive">CacheMaxExpire</code> で設定されている値
453     より大きくなってしまっている場合は、<code class="directive">CacheMaxExpire</code>
454     の設定値が優先されます。</p>
455
456     <div class="example"><p><code>
457       CacheLastModifiedFactor 0.5
458     </code></p></div>
459
460 </div>
461 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
462 <div class="directive-section"><h2><a name="CacheLock" id="CacheLock">CacheLock</a> <a name="cachelock" id="cachelock">ディレクティブ</a></h2>
463 <table class="directive">
464 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>Enable the thundering herd lock.</td></tr>
465 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheLock <var>on|off</var></code></td></tr>
466 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheLock off</code></td></tr>
467 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
468 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
469 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
470 <tr><th><a href="directive-dict.html#Compatibility">互換性:</a></th><td>Available in Apache 2.2.15 and later</td></tr>
471 </table><p>The documentation for this directive has
472             not been translated yet. Please have a look at the English
473             version.</p></div>
474 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
475 <div class="directive-section"><h2><a name="CacheLockMaxAge" id="CacheLockMaxAge">CacheLockMaxAge</a> <a name="cachelockmaxage" id="cachelockmaxage">ディレクティブ</a></h2>
476 <table class="directive">
477 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>Set the maximum possible age of a cache lock.</td></tr>
478 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheLockMaxAge <var>integer</var></code></td></tr>
479 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheLockMaxAge 5</code></td></tr>
480 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
481 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
482 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
483 </table><p>The documentation for this directive has
484             not been translated yet. Please have a look at the English
485             version.</p></div>
486 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
487 <div class="directive-section"><h2><a name="CacheLockPath" id="CacheLockPath">CacheLockPath</a> <a name="cachelockpath" id="cachelockpath">ディレクティブ</a></h2>
488 <table class="directive">
489 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>Set the lock path directory.</td></tr>
490 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheLockPath <var>directory</var></code></td></tr>
491 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheLockPath /tmp/mod_cache-lock</code></td></tr>
492 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
493 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
494 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
495 </table><p>The documentation for this directive has
496             not been translated yet. Please have a look at the English
497             version.</p></div>
498 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
499 <div class="directive-section"><h2><a name="CacheMaxExpire" id="CacheMaxExpire">CacheMaxExpire</a> <a name="cachemaxexpire" id="cachemaxexpire">ディレクティブ</a></h2>
500 <table class="directive">
501 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>ドキュメントをキャッシュする最大時間を秒数で表したもの</td></tr>
502 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheMaxExpire <var>seconds</var></code></td></tr>
503 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheMaxExpire 86400 (一日)</code></td></tr>
504 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
505 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
506 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
507 </table>
508     <p><code class="directive">CacheMaxExpire</code> ディレクティブは、
509     キャッシュする HTTP ドキュメントを、元のサーバに問い合わせないまま最大何秒
510     保持してもよいかを指定します。つまり、ドキュメントは最大でこの秒数間ぶん古く
511     なることになります。この最大値は、<span class="transnote">(<em>訳注:</em> レスポンス中で)</span>ドキュメントと共に
512     ドキュメントの期日が提供されている場合でも適用されます。</p>
513
514     <div class="example"><p><code>
515       CacheMaxExpire 604800
516     </code></p></div>
517
518 </div>
519 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
520 <div class="directive-section"><h2><a name="CacheMinExpire" id="CacheMinExpire">CacheMinExpire</a> <a name="cacheminexpire" id="cacheminexpire">ディレクティブ</a></h2>
521 <table class="directive">
522 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>ドキュメントをキャッシュする最小秒数</td></tr>
523 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheMinExpire <var>seconds</var></code></td></tr>
524 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheMinExpire 0</code></td></tr>
525 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
526 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
527 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
528 </table>
529     <p>キャッシュ可能な HTTP ドキュメントがあったときに、オリジンサーバに問い合わせることなく
530     保持する秒数の最小値は <code class="directive">CacheMinExpire</code> ディレクティブを使って設定します。
531     この値は、ドキュメントに妥当な有効期限が指定されていなかった場合にのみ使われます。</p>
532
533
534     <div class="example"><p><code>
535       CacheMinExpire 3600
536     </code></p></div>
537
538 </div>
539 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
540 <div class="directive-section"><h2><a name="CacheQuickHandler" id="CacheQuickHandler">CacheQuickHandler</a> <a name="cachequickhandler" id="cachequickhandler">ディレクティブ</a></h2>
541 <table class="directive">
542 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>Run the cache from the quick handler.</td></tr>
543 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheQuickHandler <var>on|off</var></code></td></tr>
544 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheQuickHandler on</code></td></tr>
545 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
546 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
547 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
548 </table><p>The documentation for this directive has
549             not been translated yet. Please have a look at the English
550             version.</p></div>
551 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
552 <div class="directive-section"><h2><a name="CacheStaleOnError" id="CacheStaleOnError">CacheStaleOnError</a> <a name="cachestaleonerror" id="cachestaleonerror">ディレクティブ</a></h2>
553 <table class="directive">
554 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>Serve stale content in place of 5xx responses.</td></tr>
555 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheStaleOnError <var>on|off</var></code></td></tr>
556 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheStaleOnError on</code></td></tr>
557 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess</td></tr>
558 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
559 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
560 <tr><th><a href="directive-dict.html#Compatibility">互換性:</a></th><td>Available in Apache 2.3.9 and later</td></tr>
561 </table><p>The documentation for this directive has
562             not been translated yet. Please have a look at the English
563             version.</p></div>
564 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
565 <div class="directive-section"><h2><a name="CacheStoreExpired" id="CacheStoreExpired">CacheStoreExpired</a> <a name="cachestoreexpired" id="cachestoreexpired">ディレクティブ</a></h2>
566 <table class="directive">
567 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>Attempt to cache responses that the server reports as expired</td></tr>
568 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheStoreExpired On|Off</code></td></tr>
569 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheStoreExpired Off</code></td></tr>
570 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess</td></tr>
571 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
572 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
573 </table><p>The documentation for this directive has
574             not been translated yet. Please have a look at the English
575             version.</p></div>
576 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
577 <div class="directive-section"><h2><a name="CacheStoreNoStore" id="CacheStoreNoStore">CacheStoreNoStore</a> <a name="cachestorenostore" id="cachestorenostore">ディレクティブ</a></h2>
578 <table class="directive">
579 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>no-store と指定されているレスポンスのキャッシュを試みる。</td></tr>
580 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheStoreNoStore On|Off</code></td></tr>
581 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheStoreNoStore Off</code></td></tr>
582 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
583 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
584 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
585 </table>
586     <p>通常 Cache-Control: no-store ヘッダのついているレスポンスは
587        キャッシュされません。<code class="directive">CacheStoreNoCache</code> 
588        ディレクティブでこの挙動を上書きできます。
589        <code class="directive">CacheStoreNoCache</code> On で no-store ヘッダのついている
590        リソースに対してもキャッシュを試みるようになります。
591        ただし認証の求められるリソースは <em>決して</em> キャッシュされません。</p>
592
593     <div class="example"><p><code>
594       CacheStoreNoStore On
595     </code></p></div>
596
597     <div class="warning"><h3>警告:</h3>
598        RFC 2616 に記載されているように no-store ディレクティブは、
599        "不注意による機密情報の漏洩や残留 (バックアップテープ等) を防ぐ"
600        目的で使われますが、このオプションを有効にすると、
601        機密情報を保持することになってしまいます。
602        ですので、ここで警告しておきます。
603     </div>
604
605 <h3>参照</h3>
606 <ul>
607 <li><code class="directive"><a href="#cacheignorecachecontrol">CacheIgnoreCacheControl</a></code></li>
608 <li><code class="directive"><a href="#cachestoreprivate">CacheStorePrivate</a></code></li>
609 </ul>
610 </div>
611 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
612 <div class="directive-section"><h2><a name="CacheStorePrivate" id="CacheStorePrivate">CacheStorePrivate</a> <a name="cachestoreprivate" id="cachestoreprivate">ディレクティブ</a></h2>
613 <table class="directive">
614 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>private と指定されているレスポンスのキャッシュを試みる。</td></tr>
615 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CacheStorePrivate On|Off</code></td></tr>
616 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CacheStorePrivate Off</code></td></tr>
617 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト</td></tr>
618 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
619 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_cache</td></tr>
620 </table>
621     <p>通常 Cache-Control: private ヘッダのついているレスポンスは
622        キャッシュされません。<code class="directive">CacheStorePrivate</code> 
623        ディレクティブでこの挙動を上書きできます。
624        <code class="directive">CacheStorePrivate</code> On で private ヘッダのついている
625        リソースに対してもキャッシュを試みるようになります。
626        ただし認証の求められるリソースは <em>決して</em> キャッシュされません。</p>
627
628     <div class="example"><p><code>
629       CacheStorePrivate On
630     </code></p></div>
631
632     <div class="warning"><h3>警告:</h3>
633        上流サーバがキャッシュしないように指定してきても、
634        それを無視してキャッシュするようになります。
635        望ましい挙動になるのは、本当に 'private' なキャッシュについてのみでしょう。
636     </div>
637
638 <h3>参照</h3>
639 <ul>
640 <li><code class="directive"><a href="#cacheignorecachecontrol">CacheIgnoreCacheControl</a></code></li>
641 <li><code class="directive"><a href="#cachestorenostore">CacheStoreNoStore</a></code></li>
642 </ul>
643 </div>
644 </div>
645 <div class="bottomlang">
646 <p><span>言語: </span><a href="../en/mod/mod_cache.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
647 <a href="../fr/mod/mod_cache.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
648 <a href="../ja/mod/mod_cache.html" title="Japanese">&nbsp;ja&nbsp;</a> |
649 <a href="../ko/mod/mod_cache.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
650 </div><div id="footer">
651 <p class="apache">Copyright 2011 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
652 <p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p></div>
653 </body></html>