1<?xml version="1.0" encoding="EUC-KR"?> 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="ko" xml:lang="ko"><head><!-- 4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 5 This file is generated from xml source: DO NOT EDIT 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 --> 8<title>mod_mem_cache - Apache HTTP Server</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" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" /> 12<script src="/style/scripts/prettify.js" type="text/javascript"> 13</script> 14 15<link href="/images/favicon.ico" rel="shortcut icon" /></head> 16<body> 17<div id="page-header"> 18<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> 19<p class="apache">Apache HTTP Server Version 2.2</p> 20<img alt="" src="/images/feather.gif" /></div> 21<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div> 22<div id="path"> 23<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">���</a></div> 24<div id="page-content"> 25<div id="preamble"><h1>����ġ ��� mod_mem_cache</h1> 26<div class="toplang"> 27<p><span>������ ���: </span><a href="/en/mod/mod_mem_cache.html" hreflang="en" rel="alternate" title="English"> en </a> | 28<a href="/ja/mod/mod_mem_cache.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 29<a href="/ko/mod/mod_mem_cache.html" title="Korean"> ko </a></p> 30</div> 31<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�. 32 �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div> 33<table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>URI�� Ű�� ����Ͽ� ������ ij���Ѵ�.</td></tr> 34<tr><th><a href="module-dict.html#Status">����:</a></th><td>Experimental</td></tr> 35<tr><th><a href="module-dict.html#ModuleIdentifier">����:</a></th><td>mem_cache_module</td></tr> 36<tr><th><a href="module-dict.html#SourceFile">�ҽ�����:</a></th><td>mod_mem_cache.c</td></tr></table> 37<h3>���</h3> 38 39 <div class="warning"> 40 �� ����� �������� �����̴�. ������ ���� �۾����̴�... 41 </div> 42 43 <p>�� ����� ����Ϸ��� <code class="module"><a href="/mod/mod_cache.html">mod_cache</a></code>�� 44 <em>�ʿ��ϴ�</em>. �� ����� <code class="module"><a href="/mod/mod_cache.html">mod_cache</a></code>�� 45 �����ϸ� ��� ������ڸ� �����Ѵ�. 46 <code class="module"><a href="/mod/mod_mem_cache.html">mod_mem_cache</a></code>�� ���ϱ���ڸ� ij���� �����ϰų� 47 ��ü�� �� �� ij���ϴ� �ΰ��� ������� �����Ѵ�. 48 <code class="module"><a href="/mod/mod_mem_cache.html">mod_mem_cache</a></code>�� ���� ������ ���� �������� 49 ij���ϰų� <code class="directive"><a href="/mod/mod_proxy.html#proxypass">ProxyPass</a></code>�� 50 ������ (<dfn>�����Ͻ�(reverse proxy)</dfn>) 51 <code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code>�� �� ���������� ij���Ҷ� �ַ� 52 ����Ѵ�.</p> 53 54 <p>������ URI�� Ű�� ����Ͽ� ij���� �����ϰ� �����´�. 55 ������ �����ϴ� ������ ij���� �������� �ʴ´�.</p> 56</div> 57<div id="quickview"><h3 class="directives">���þ��</h3> 58<ul id="toc"> 59<li><img alt="" src="/images/down.gif" /> <a href="#mcachemaxobjectcount">MCacheMaxObjectCount</a></li> 60<li><img alt="" src="/images/down.gif" /> <a href="#mcachemaxobjectsize">MCacheMaxObjectSize</a></li> 61<li><img alt="" src="/images/down.gif" /> <a href="#mcachemaxstreamingbuffer">MCacheMaxStreamingBuffer</a></li> 62<li><img alt="" src="/images/down.gif" /> <a href="#mcacheminobjectsize">MCacheMinObjectSize</a></li> 63<li><img alt="" src="/images/down.gif" /> <a href="#mcacheremovalalgorithm">MCacheRemovalAlgorithm</a></li> 64<li><img alt="" src="/images/down.gif" /> <a href="#mcachesize">MCacheSize</a></li> 65</ul> 66<h3>���</h3> 67<ul class="seealso"> 68<li><code class="module"><a href="/mod/mod_cache.html">mod_cache</a></code></li> 69<li><code class="module"><a href="/mod/mod_disk_cache.html">mod_disk_cache</a></code></li> 70</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> 71 72<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 73<div class="directive-section"><h2><a name="MCacheMaxObjectCount" id="MCacheMaxObjectCount">MCacheMaxObjectCount</a> <a name="mcachemaxobjectcount" id="mcachemaxobjectcount">���þ�</a></h2> 74<table class="directive"> 75<tr><th><a href="directive-dict.html#Description">����:</a></th><td>ij���� ������ �� �ִ� �ִ� ��ü����</td></tr> 76<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>MCacheMaxObjectCount <var>value</var></code></td></tr> 77<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>MCacheMaxObjectCount 1009</code></td></tr> 78<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������</td></tr> 79<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Experimental</td></tr> 80<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_mem_cache</td></tr> 81</table> 82 <p><code class="directive">MCacheMaxObjectCount</code> ���þ�� 83 ij���� �� �ִ� �ִ� ��ü������ �����Ѵ�. �� ���� �ؽ����̺��� 84 ���鶧 ����Ѵ�. ���ο� ��ü�� ij���� �߰��ؾ� �ϴµ� �ִ� 85 ��ü������ �����Ͽ��ٸ�, ���ο� ��ü�� ij���� �� �ֵ��� 86 �ٸ� ��ü�� �����Ѵ�. <code class="directive"><a href="#mcacheremovalalgorithm">MCacheRemovalAlgorithm</a></code>���� 87 ������ �˰���� ����Ͽ� ������ ��ü�� �����Ѵ�.</p> 88 89 <div class="example"><h3>����</h3><p><code> 90 MCacheMaxObjectCount 13001 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="MCacheMaxObjectSize" id="MCacheMaxObjectSize">MCacheMaxObjectSize</a> <a name="mcachemaxobjectsize" id="mcachemaxobjectsize">���þ�</a></h2> 96<table class="directive"> 97<tr><th><a href="directive-dict.html#Description">����:</a></th><td>ij���� ������ ������ �ִ� ũ�� (����Ʈ ����)</td></tr> 98<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>MCacheMaxObjectSize <var>bytes</var></code></td></tr> 99<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>MCacheMaxObjectSize 10000</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>Experimental</td></tr> 102<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_mem_cache</td></tr> 103</table> 104 <p><code class="directive">MCacheMaxObjectSize</code> ���þ�� ij���� 105 ������ ������ �ִ� ũ�⸦ ����Ʈ ������ �����Ѵ�.</p> 106 107 <div class="example"><h3>����</h3><p><code> 108 MCacheMaxObjectSize 6400000 109 </code></p></div> 110 111 <div class="note"><h3>Note</h3> 112 <p><code class="directive">MCacheMaxObjectSize</code> ���� <code class="directive"><a href="#mcacheminobjectsize">MCacheMinObjectSize</a></code> 113 ���þ�� ������ ������ Ŀ�� �Ѵ�.</p> 114 </div> 115 116</div> 117<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 118<div class="directive-section"><h2><a name="MCacheMaxStreamingBuffer" id="MCacheMaxStreamingBuffer">MCacheMaxStreamingBuffer</a> <a name="mcachemaxstreamingbuffer" id="mcachemaxstreamingbuffer">���þ�</a></h2> 119<table class="directive"> 120<tr><th><a href="directive-dict.html#Description">����:</a></th><td>������ ij�����Ѵٰ� �����ϱ� ����� �� ���ۿ� 121������ ��Ʈ�� ������ �ִ� ũ��</td></tr> 122<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>MCacheMaxStreamingBuffer <var>size_in_bytes</var></code></td></tr> 123<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>MCacheMaxStreamingBuffer 100000�� MCacheMaxObjectSize 124�߿� ���� ��</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>Experimental</td></tr> 127<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_mem_cache</td></tr> 128</table> 129 <p><code class="directive">MCacheMaxStreamingBuffer</code> ���þ�� 130 ������ �ʹ� Ŀ�� ij���� �� ���������� ���ۿ� ������ ��Ʈ�� 131 ������ �ִ� ����Ʈ���� �����Ѵ�. ��Ʈ�� ����(streamed response)�� 132 ��ü ������ ��� �� �� ��� <code>Content-Length</code>�� 133 �� �����̴�. ���Ͻõ� �����̳� CGI ��ũ��Ʈ�� ����� 134 ��Ʈ�� ���信 ���Ѵ�. �⺻������ <code>Content-Length</code> 135 ����� ��ٸ� ��Ʈ�� ������ ij���� �������� <em>�ʴ´�</em>. 136 ������ ij���� �����ϱ �ʹ� ū ������ �Ϻθ� ���ۿ� 137 �����ϱ����� ���� �� �������� �ʱ����ؼ��̴�. 138 <code class="directive">MCacheMaxStreamingBuffer</code> ���þ 139 ����ϸ� <code>Content-Length</code>�� ��� ��Ʈ�� ������ 140 ������ ũ������� ���ۿ� �����Ѵ�. �ִ� ũ�⸦ �Ѿ�� 141 ���� ������ ������ ij������ �ʴ´�.</p> 142 143 <div class="note"><h3>����:</h3> 144 <p><code class="directive">MCacheMaxStreamingBuffer</code>�� 0�� 145 �ƴ� ���� �����Ͽ��� Ŭ���̾�Ʈ�� ������ �ʰ� ������ �ʴ´�. 146 <code class="module"><a href="/mod/mod_mem_cache.html">mod_mem_cache</a></code>�� ��Ʈ�� ������ �Ϻθ� 147 ���ۿ� �������ڸ��� Ŭ���̾�Ʈ�� ���������� ���� ������ͷ� 148 ������.</p> 149 </div> 150 151 <div class="example"><p><code> 152 # ��Ʈ�� ������ 64KB���� ij���Ѵ�:<br /> 153 MCacheMaxStreamingBuffer 65536 154 </code></p></div> 155 156</div> 157<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 158<div class="directive-section"><h2><a name="MCacheMinObjectSize" id="MCacheMinObjectSize">MCacheMinObjectSize</a> <a name="mcacheminobjectsize" id="mcacheminobjectsize">���þ�</a></h2> 159<table class="directive"> 160<tr><th><a href="directive-dict.html#Description">����:</a></th><td>ij���� ������ ������ �ּ� ũ�� (����Ʈ ����)</td></tr> 161<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>MCacheMinObjectSize <var>bytes</var></code></td></tr> 162<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>MCacheMinObjectSize 0</code></td></tr> 163<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������</td></tr> 164<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Experimental</td></tr> 165<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_mem_cache</td></tr> 166</table> 167 <p><code class="directive">MCacheMinObjectSize</code> ���þ�� ij���� 168 ������ ������ �ּ� ũ�⸦ ����Ʈ ������ �����Ѵ�.</p> 169 170 <div class="example"><h3>����</h3><p><code> 171 MCacheMinObjectSize 10000 172 </code></p></div> 173 174</div> 175<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 176<div class="directive-section"><h2><a name="MCacheRemovalAlgorithm" id="MCacheRemovalAlgorithm">MCacheRemovalAlgorithm</a> <a name="mcacheremovalalgorithm" id="mcacheremovalalgorithm">���þ�</a></h2> 177<table class="directive"> 178<tr><th><a href="directive-dict.html#Description">����:</a></th><td>ij������ ������ ������ ã�� �˰��</td></tr> 179<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>MCacheRemovalAlgorithm LRU|GDSF</code></td></tr> 180<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>MCacheRemovalAlgorithm GDSF</code></td></tr> 181<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������</td></tr> 182<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Experimental</td></tr> 183<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_mem_cache</td></tr> 184</table> 185 <p><code class="directive">MCacheRemovalAlgorithm</code> ���þ�� 186 ij������ ������ ������ ã�� �˰���� �����Ѵ�.</p> 187 188 <dl> 189 <dt><code>LRU</code> (Least Recently Used)</dt> 190 <dd><code>LRU</code>�� ���� �������� �������� ���� ������ 191 ���� �����Ѵ�.</dd> 192 193 <dt><code>GDSF</code> (GreadyDual-Size)</dt> 194 <dd><code>GDSF</code>�� ij�� ����(cache miss) ���� ������ 195 ũ�⸦ ������ ij���� ������ �켱������ �ο��Ѵ�. ���� 196 �켱������ ���� ������ ���� �����Ѵ�.</dd> 197 </dl> 198 199 <div class="example"><h3>����</h3><p><code> 200 MCacheRemovalAlgorithm GDSF<br /> 201 MCacheRemovalAlgorithm LRU 202 </code></p></div> 203 204</div> 205<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 206<div class="directive-section"><h2><a name="MCacheSize" id="MCacheSize">MCacheSize</a> <a name="mcachesize" id="mcachesize">���þ�</a></h2> 207<table class="directive"> 208<tr><th><a href="directive-dict.html#Description">����:</a></th><td>ij���� ����� �ִ� �� (KByte ����)</td></tr> 209<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>MCacheSize <var>KBytes</var></code></td></tr> 210<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>MCacheSize 100</code></td></tr> 211<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������</td></tr> 212<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Experimental</td></tr> 213<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_mem_cache</td></tr> 214</table> 215 <p><code class="directive">MCacheSize</code> ���þ�� ij���� ����� 216 �ִ� ���� KByte ������ (1024 ����Ʈ ����) �����Ѵ�. 217 ���ο� ��ü�� ij���� �߰��ؾ� �ϴµ� ��ü�� ũ�Ⱑ ���� 218 ���� ũ�ٸ� ���ο� ��ü�� ij���� �� ���������� �ٸ� 219 ��ü�� �����Ѵ�. <code class="directive"><a href="#mcacheremovalalgorithm">MCacheRemovalAlgorithm</a></code>���� 220 ������ �˰���� ����Ͽ� ������ ��ü�� �����Ѵ�.</p> 221 222 <div class="example"><h3>����</h3><p><code> 223 MCacheSize 700000 224 </code></p></div> 225 226 <div class="note"><h3>����</h3> 227 <p><code class="directive">MCacheSize</code> ���� <code class="directive"><a href="#mcachemaxobjectsize">MCacheMaxObjectSize</a></code> 228 ���þ�� ������ ������ Ŀ�� �Ѵ�.</p> 229 </div> 230 231</div> 232</div> 233<div class="bottomlang"> 234<p><span>������ ���: </span><a href="/en/mod/mod_mem_cache.html" hreflang="en" rel="alternate" title="English"> en </a> | 235<a href="/ja/mod/mod_mem_cache.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 236<a href="/ko/mod/mod_mem_cache.html" title="Korean"> ko </a></p> 237</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">Comments</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> 238<script type="text/javascript"><!--//--><![CDATA[//><!-- 239var comments_shortname = 'httpd'; 240var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_mem_cache.html'; 241(function(w, d) { 242 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 243 d.write('<div id="comments_thread"><\/div>'); 244 var s = d.createElement('script'); 245 s.type = 'text/javascript'; 246 s.async = true; 247 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 248 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 249 } 250 else { 251 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 252 } 253})(window, document); 254//--><!]]></script></div><div id="footer"> 255<p class="apache">Copyright 2013 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> 256<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[//><!-- 257if (typeof(prettyPrint) !== 'undefined') { 258 prettyPrint(); 259} 260//--><!]]></script> 261</body></html>