blob: 03a7960cfedc6d848c97249459eeb4d37ed35520 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
|
<?xml version="1.0" encoding="EUC-JP"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_mem_cache - Apache HTTP ������</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body>
<div id="page-header">
<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>
<p class="apache">Apache HTTP ������ ������� 2.3</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<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.3</a> > <a href="./">�⥸�塼��</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache �⥸�塼�� mod_mem_cache</h1>
<div class="toplang">
<p><span>Available Languages: </span><a href="../en/mod/mod_mem_cache.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_mem_cache.html" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_mem_cache.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div>
<table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>URI ���ˤ�������ƥ�ĤΥ���å���</td></tr>
<tr><th><a href="module-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">�⥸�塼�뼱�̻�:</a></th><td>mem_cache_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">�������ե�����:</a></th><td>mod_mem_cache.c</td></tr></table>
<h3>����</h3>
<p>���Υ⥸�塼��� <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> ��<em>ɬ�פȤ��ޤ�</em>��
����� <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> �Υ��ݡ��ȥ⥸�塼��Ȥ���
ư����������Ѥ������ȥ졼���������������ޤ���
<code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code> ����ĤΥ⡼�ɤΤɤ��餫��ư���褦��
����Ǥ��ޤ�: �ե����뵭�һҤΥ���å��夫�ҡ�����Υ��֥������Ȥ�
����å���Ǥ�������������������줿����ƥ�Ĥ��Ф��ƥ���å��夹��Ȥ��䡢
<code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> ��Ȥä� <code class="directive"><a href="../mod/mod_proxy.html#proxypass">ProxyPass</a></code> (�Ĥޤ�<dfn>��С����ץ�����</dfn>����) �����ꤷ���Ȥ��ΥХå�����ɥ����ФΥ���ƥ�Ĥ��Ф���
����å����Ȥ��ˡ������ؤ����Ū�Ǥ���</p>
<p>����ƥ�ĤΥ���å���ؤ���¸�ȼ����� URI �˴�Ť����������Ȥ��ޤ���
���������ݸ�Τ������Ƥ��륳��ƥ�Ĥϥ���å��夵��ޤ���</p>
</div>
<div id="quickview"><h3 class="directives">�ǥ��쥯�ƥ���</h3>
<ul id="toc">
<li><img alt="" src="../images/down.gif" /> <a href="#mcachemaxobjectcount">MCacheMaxObjectCount</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#mcachemaxobjectsize">MCacheMaxObjectSize</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#mcachemaxstreamingbuffer">MCacheMaxStreamingBuffer</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#mcacheminobjectsize">MCacheMinObjectSize</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#mcacheremovalalgorithm">MCacheRemovalAlgorithm</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#mcachesize">MCacheSize</a></li>
</ul>
<h3>����</h3>
<ul class="seealso">
<li><code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code></li>
<li><code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="MCacheMaxObjectCount" id="MCacheMaxObjectCount">MCacheMaxObjectCount</a> <a name="mcachemaxobjectcount" id="mcachemaxobjectcount">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>����å�����ݴɤ���륪�֥������Ȥκ����</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>MCacheMaxObjectCount <var>value</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>MCacheMaxObjectCount 1009</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_mem_cache</td></tr>
</table>
<p><code class="directive">MCacheMaxObjectCount</code> �ǥ��쥯�ƥ��֤�
����å��夵��륪�֥������Ȥκ��������ꤷ�ޤ���
�����ͤϥϥå���ơ��֥���������Ȥ��˻Ȥ��ޤ���
���������֥������Ȥ���������Ȥ��ˡ����֥������Ȥκ������
ã���Ƥ��ޤäƤ���Ȥ������������֥������Ȥ�å���Ǥ���褦�ˡ�
���֥������Ȥ��ľõ�ޤ������֥������Ȥ�
<code class="directive"><a href="#mcacheremovalalgorithm">MCacheRemovalAlgorithm</a></code>
�ǻ��ꤵ�줿���르�ꥺ��˽��äƺ������ޤ���</p>
<div class="example"><h3>��</h3><p><code>
MCacheMaxObjectCount 13001
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="MCacheMaxObjectSize" id="MCacheMaxObjectSize">MCacheMaxObjectSize</a> <a name="mcachemaxobjectsize" id="mcachemaxobjectsize">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>����å�����ݴɤǤ���ɥ�����Ȥκ��祵���� (�Х���)</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>MCacheMaxObjectSize <var>bytes</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>MCacheMaxObjectSize 10000</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_mem_cache</td></tr>
</table>
<p><code class="directive">MCacheMaxObjectSize</code> �ϥɥ�����Ȥ�
����å��夹�뤫�ɤ�����Ƚ�ꤹ�롢����Υ�������Х��ȿ������ꤷ�ޤ���</p>
<div class="example"><h3>��</h3><p><code>
MCacheMaxObjectSize 6400000
</code></p></div>
<div class="note"><h3>��</h3>
<p><code class="directive">MCacheMaxObjectSize</code> ���ͤ� <code class="directive"><a href="#mcacheminobjectsize">MCacheMinObjectSize</a></code>
�ǻ��ꤷ���ͤ����礭���ʤ���Фʤ�ޤ���</p>
</div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="MCacheMaxStreamingBuffer" id="MCacheMaxStreamingBuffer">MCacheMaxStreamingBuffer</a> <a name="mcachemaxstreamingbuffer" id="mcachemaxstreamingbuffer">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>���ȥ�व��Ƥ��������å�����ǽ�ȷ��ꤹ��ޤǤ�
����˥Хåե����������</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>MCacheMaxStreamingBuffer <var>size_in_bytes</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>MCacheMaxStreamingBuffer of 100000 �� MCacheMaxObjectSize �ξ�����</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_mem_cache</td></tr>
</table>
<p><code class="directive">MCacheMaxStreamingBuffer</code> �ǥ��쥯�ƥ��֤ϡ�
���������礭�����ƥ���å���Ǥ��ʤ���Ƚ�Ǥ���ޤǤΡ�
���ȥ������ΥХåե��Τ���κ���Х��ȿ�����ꤷ�ޤ���
���ȥ������Ȥϡ�����ƥ�Ĥ����Τ������ˤ�����줺��
<code>Content-Length</code> ���狼��ʤ�������ؤ��ޤ���
���ȥ�������Ԥʤ��褦�ʤ�Τˤϥץ��������줿�����䡢
CGI ������ץȤν��Ϥʤɤ�����ޤ����ǥե���ȤǤϥ��ȥ��α�����
<code>Content-Length</code> ���ʤ��¤ꥭ��å���<em>����ޤ���</em>��
���Τ褦��ư��ˤʤäƤ�����ͳ�ϡ���ɥ���å���˼��ޤ꤭��ʤ���
Ƚ�Ǥ��뤳�ȤˤʤäƤ��ޤ��褦�ʡ����������礭�ʱ����ΥХåե���ˡ�
���̤Υ��꤬�����Τ��뤿��Ǥ���
<code class="directive">MCacheMaxStreamingBuffer</code> �ǥ��쥯�ƥ��֤�Ȥ��ȡ�
<code>Content-Length</code> ��ޤޤʤ��������Ф��ƻ��ꤵ�줿�����̤ޤ�
�Хåե�����褦�ˤǤ��ޤ����Хåե���Ȥ��ڤ�ȡ��Хåե����
����ƥ�ĤϼΤƤ�졢����å���ư�����ߤ��ޤ���</p>
<div class="note"><h3>��:</h3>
<p><code class="directive">MCacheMaxStreamingBuffer</code> ���������ͤ�
�ȤäƤ⡢���饤����Ȥؤα�����ž�����ä��ٱ��ȯ�����ޤ���
<code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code> �ϥ��ȥ�ॳ��ƥ�Ĥ����Ҥ�
�Хåե��˥��ԡ������塢¨�¤ˡ�������ʬ�饤����Ȥؤ�������
���ʤν��ϥե��륿������ޤ���</p>
</div>
<div class="example"><p><code>
# Enable caching of streamed responses up to 64KB:<br />
MCacheMaxStreamingBuffer 65536
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="MCacheMinObjectSize" id="MCacheMinObjectSize">MCacheMinObjectSize</a> <a name="mcacheminobjectsize" id="mcacheminobjectsize">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>����å�����ݴɤ����ɥ�����ȤκǾ������� (�Х���)</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>MCacheMinObjectSize <var>bytes</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>MCacheMinObjectSize 0</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_mem_cache</td></tr>
</table>
<p><code class="directive">MCacheMinObjectSize</code> �ǥ��쥯�ƥ��֤ϡ��ɥ�����Ȥ�
����å��夹�뤫�ɤ�����Ƚ�ꤹ�롢�Ǿ��Υ�������Х��ȿ������ꤷ�ޤ���</p>
<div class="example"><h3>��</h3><p><code>
MCacheMinObjectSize 10000
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="MCacheRemovalAlgorithm" id="MCacheRemovalAlgorithm">MCacheRemovalAlgorithm</a> <a name="mcacheremovalalgorithm" id="mcacheremovalalgorithm">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>����å��夫��������ɥ�����Ȥ����֤���Υ��르�ꥺ��</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>MCacheRemovalAlgorithm LRU|GDSF</code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>MCacheRemovalAlgorithm GDSF</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_mem_cache</td></tr>
</table>
<p><code class="directive">MCacheRemovalAlgorithm</code> �ǥ��쥯�ƥ��֤ϡ�
����å��夫��������ɥ�����Ȥ����뤿��Υ��르�ꥺ���
���ꤷ�ޤ�����������Ĥ���ޤ�:</p>
<dl>
<dt><code>LRU</code> (Least Recently Used)</dt>
<dd><code>LRU</code> ����Ĺ��������������Ƥ��ʤ��ɥ�����Ȥ������ޤ���
</dd>
<dt><code>GDSF</code> (GreadyDual-Size)</dt>
<dd><code>GDSF</code> �ϥ���å���ߥ��Υ����Ȥȥɥ�����ȤΥ��������Ȥˡ�
�ɥ�����ȤΥ���å�����Ф���ͥ���٤�Ĥ��ޤ���
ͥ���٤ΰ����㤤�ɥ�����Ȥ��ǽ�˺������ޤ���</dd>
</dl>
<div class="example"><h3>��</h3><p><code>
MCacheRemovalAlgorithm GDSF<br />
MCacheRemovalAlgorithm LRU
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="MCacheSize" id="MCacheSize">MCacheSize</a> <a name="mcachesize" id="mcachesize">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>����å���˻Ȥ������κ����̤�Х���ñ�̤ǻ���</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>MCacheSize <var>KBytes</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>MCacheSize 100</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_mem_cache</td></tr>
</table>
<p><code class="directive">MCacheSize</code> �ǥ��쥯�ƥ��֤ϥ���å����
�Ȥ��������礭�����Х��� (1024 �Х���ñ��) �����ꤷ�ޤ���
���������֥������Ȥ�å�����������뤳�Ȥˤʤꡢ���֥������Ȥ�
���������Ĥ�Υ������礭�����ϡ����ο��������֥������Ȥ�������
��ǽ�ˤʤ�ޤǡ��Ť����֥������Ȥ��������Ƥ����ޤ���
���֥������Ȥ� <code class="directive"><a href="#mcacheremovalalgorithm">MCacheRemovalAlgorithm</a></code>
�ǻ��ꤷ�����르�ꥺ��˽��äƺ������ޤ���</p>
<div class="example"><h3>��</h3><p><code>
MCacheSize 700000
</code></p></div>
<div class="note"><h3>��</h3>
<p><code class="directive">MCacheSize</code> ���ͤ� <code class="directive"><a href="#mcachemaxobjectsize">MCacheMaxObjectSize</a></code> �ǥ��쥯�ƥ��֤ǻ��ꤷ���ͤ��
�礭���ʤ���Фʤ�ޤ���</p>
</div>
</div>
</div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../en/mod/mod_mem_cache.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_mem_cache.html" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_mem_cache.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Copyright 2006 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>
<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>
</body></html>
|