407N/A<?
xml version="1.0" encoding="EUC-KR" ?>
407N/A<!-- English Revision: 105569:1505986 (outdated) --> 407N/A Licensed to the Apache Software Foundation (ASF) under one or more 407N/A contributor license agreements. See the NOTICE file distributed with 407N/A this work for additional information regarding copyright ownership. 407N/A The ASF licenses this file to You under the Apache License, Version 2.0 407N/A (the "License"); you may not use this file except in compliance with 407N/A the License. You may obtain a copy of the License at 407N/A Unless required by applicable law or agreed to in writing, software 407N/A distributed under the License is distributed on an "AS IS" BASIS, 407N/A WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 407N/A See the License for the specific language governing permissions and 407N/A limitations under the License. 407N/A<
description>URI�� Ű�� ����Ͽ� ������ ij���Ѵ�.</
description>
407N/A<
status>Experimental</
status>
407N/A<
identifier>cache_module</
identifier>
407N/A �� ����� �������� �����̴�. ������ ���� �۾����̴�...
407N/A <
p><
module>mod_cache</
module>�� ���� ��ǻ�Ϳ� �ִ� �����̳�
407N/A ���Ͻõ� ������ ij���� �� �ִ� <
a 407N/A ȣȯ HTTP ����ij���� �����Ѵ�. <
module>mod_cache</
module>��
407N/A ����Ϸ��� �������(storage management module)�� �ʿ��ϴ�.
407N/A �⺻ ����ġ ���������� �ΰ��� ��������� �ִ�:</
p>
407N/A <
dt><
module>mod_cache_disk</
module></
dt>
407N/A <
dd>�� ��ũ��� ������ڸ� �����Ѵ�.</
dd>
407N/A <
dt><
module>mod_mem_cache</
module></
dt>
407N/A <
dd>�� ��� ������ڸ� �����Ѵ�.
407N/A <
module>mod_mem_cache</
module>�� ���ϱ���ڸ� ij���ϰų�
407N/A ��(heap) �� ��ü�� ij���ϴ� �ΰ��� ����� �Ѱ��� �������
407N/A �����ϵ��� ������ �� �ִ�. <
module>mod_mem_cache</
module>��
407N/A �ڽ��� ���� ������ ij���ϰų�, (<
dfn>�����Ͻ�(reverse proxy)</
dfn>��
407N/A �˷���) <
directive module="mod_proxy">ProxyPass</
directive>��
����Ͽ� <
module>mod_proxy</
module>�� ���� �� ����������
<
p>������ URI�� ���� ���� Ű�� ij���� �����ϰ� �����´�.
���ٺ�ȣ�� �� ������ ij�������ʴ´�.</
p>
<
section id="related"><
title>��õ� ���� ���þ�</
title>
<
module>mod_cache_disk</
module>
<
module>mod_mem_cache</
module>
<
directive module="mod_cache_disk">CacheRoot</
directive>
<
directive module="mod_cache_disk">CacheSize</
directive>
<
directive module="mod_cache_disk">CacheGcInterval</
directive>
<
directive module="mod_cache_disk">CacheDirLevels</
directive>
<
directive module="mod_cache_disk">CacheDirLength</
directive>
<
directive module="mod_cache_disk">CacheExpiryCheck</
directive>
<
directive module="mod_cache_disk">CacheMinFileSize</
directive>
<
directive module="mod_cache_disk">CacheMaxFileSize</
directive>
<
directive module="mod_cache_disk">CacheTimeMargin</
directive>
<
directive module="mod_cache_disk">CacheGcDaily</
directive>
<
directive module="mod_cache_disk">CacheGcUnused</
directive>
<
directive module="mod_cache_disk">CacheGcClean</
directive>
<
directive module="mod_cache_disk">CacheGcMemUsage</
directive>
<
directive module="mod_mem_cache">MCacheSize</
directive>
<
directive module="mod_mem_cache">MCacheMaxObjectCount</
directive>
<
directive module="mod_mem_cache">MCacheMinObjectSize</
directive>
<
directive module="mod_mem_cache">MCacheMaxObjectSize</
directive>
<
directive module="mod_mem_cache">MCacheRemovalAlgorithm</
directive>
<
directive module="mod_mem_cache">MCacheMaxStreamingBuffer</
directive>
<
section id="sampleconf"><
title>������</
title>
CacheRoot c:/cacheroot<
br />
MCacheMaxObjectCount 100<
br />
MCacheMinObjectSize 1<
br />
MCacheMaxObjectSize 2048<
br />
<
description>������ ������ڸ� ����Ͽ� ������ URL�� ij���Ѵ�</
description>
<
syntax>CacheEnable <
var>cache_type</
var> <
var>url-string</
var></
syntax>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
p><
directive>CacheEnable</
directive> ���þ ����ϸ�
<
module>mod_cache</
module>�� <
var>url-string</
var> ����
url���� ij���Ѵ�. ij�� ������ڴ� <
var>cache_type</
var>
�ƱԸ�Ʈ�� �����Ѵ�. <
var>cache_type</
var> <
code>mem</
code>��
<
module>mod_mem_cache</
module>�� �����ϴ� ���
������ڸ� ����Ѵ�. <
var>cache_type</
var> <
code>disk</
code>��
<
module>mod_cache_disk</
module>�� �����ϴ� ��ũ���
������ڸ� ����Ѵ�. <
var>cache_type</
var> <
code>fd</
code>��
<
module>mod_mem_cache</
module>�� �����ϴ� ���ϱ���� ij����
<
p>(�Ʒ� ���� ����) URL ���� �ٸ�
<
directive>CacheEnable</
directive> ���þ�� ��ġ�� ������
�� ������ڰ� ��û�� ó���Ҷ����� �� ������ڸ� ���
�����Ѵ�. �������Ͽ��� <
directive>CacheEnable</
directive>
���þ��� ���� ������ڰ� ����ȴ�.</
p>
CacheEnable mem /manual<
br />
CacheEnable fd /images<
br />
<
description>Add an X-Cache header to the response.</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context><
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheDisable</
name>
<
description>Ư�� URL�� ij������ �ʴ´�</
description>
<
syntax>CacheDisable <
var> url-string</
var></
syntax>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
p><
directive>CacheDisable</
directive> ���þ ����ϸ�
<
module>mod_cache</
module>�� <
var>url-string</
var> ������
url���� ij������ <
em>�ʴ´�</
em>.</
p>
<
example><
title>����</
title>
CacheDisable /local_files
<
name>CacheMaxExpire</
name>
<
description>������ ij���ϴ� �ʴ��� �ִ�ð�</
description>
<
syntax>CacheMaxExpire <
var>seconds</
var></
syntax>
<
default>CacheMaxExpire 86400 (�Ϸ�)</
default>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
p><
directive>CacheMaxExpire</
directive> ���þ�� ���� ������
�˻������ʰ� ij�������� HTTP ������ ������ �� �ִ� �ʴ���
�ִ�ð��� �����Ѵ�. ��, ������ �ִ��� �� ��������ŭ �����Ǿ��.
������ ����ð��� �����Ͽ��� �� �ִ밪�� ��Ų��.</
p>
<
name>CacheMinExpire</
name>
<
description>The minimum time in seconds to cache a document</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context><
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheDefaultExpire</
name>
<
description>����ð��� ������������ ������ ij���� �⺻ �Ⱓ.</
description>
<
syntax>CacheDefaultExpire <
var>seconds</
var></
syntax>
<
default>CacheDefaultExpire 3600 (one hour)</
default>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
p><
directive>CacheDefaultExpire</
directive> ���þ�� ������
����ð��� �ֱټ����ð��� ��� ��� ������ ij���� �ʴ���
�⺻ �ð��� �����Ѵ�. <
directive>CacheMaxExpire</
directive>��
������ ���� �� ������ �������� <
em>�ʴ´�</
em>.</
p>
<
name>CacheQuickHandler</
name>
<
description>Run the cache from the quick handler.</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheStaleOnError</
name>
<
description>Serve stale content in place of 5xx responses.</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context><
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheStoreExpired</
name>
<
description>Attempt to cache responses that the server reports as expired</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context><
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheStoreNoStore</
name>
<
description>Attempt to cache requests or responses that have been marked as no-store.</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context><
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheStorePrivate</
name>
<
description>Attempt to cache responses that the server has marked as private</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context><
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheDetailHeader</
name>
<
description>Add an X-Cache-Detail header to the response.</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context><
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheIgnoreNoLastMod</
name>
<
description>���信 Last Modified ����� ��ٴ� ����� �����Ѵ�.</
description>
<
syntax>CacheIgnoreNoLastMod On|Off</
syntax>
<
default>CacheIgnoreNoLastMod Off</
default>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
p>���� �ֱټ������� ��� ������ ij������ �ʴ´�. � ���
�ֱټ������� (���� ��� <
module>mod_include</
module> ó���߿�)
���ų� ó������ ����� ���� �ִ�.
<
directive>CacheIgnoreNoLastMod</
directive> ���þ�� �ֱټ�������
��� ������ �ݵ�� ij���ϵ��� �����. ������ �ֱټ����ϰ�
����� ��� ��� <
directive>CacheDefaultExpire</
directive>
���þ�� ������ ���� ����ð����� ����Ѵ�.</
p>
<
name>CacheIgnoreQueryString</
name>
<
description>Ignore query string when caching</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheIgnoreURLSessionIdentifiers</
name>
<
description>Ignore defined session identifiers encoded in the URL when caching
<
contextlist><
context>server config</
context><
context>virtual host</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheIgnoreCacheControl</
name>
<
description>Ŭ���̾�Ʈ�� ij�������ʴ� ������ ��û���� �����Ѵ�.</
description>
<
syntax>CacheIgnoreCacheControl On|Off</
syntax>
<
default>CacheIgnoreCacheControl Off</
default>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
p>���� no-cache�� no-store ������� ���� ������ ij����
���������ʴ´�. <
directive>CacheIgnoreCacheControl</
directive>
<
directive>CacheIgnoreCacheControl</
directive> On�� ����ϸ�
������ ������ no-cache�� no-store ������� �־ ������
ij���Ѵ�. ������ �ʿ��� ������ <
em>����</
em> ij������
CacheIgnoreCacheControl On
<
name>CacheKeyBaseURL</
name>
<
description>Override the base URL of reverse proxied cache keys.</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheLastModifiedFactor</
name>
<
description>LastModified �ð����� ����ð��� ����ϴµ� ����ϴ�
<
syntax>CacheLastModifiedFactor <
var>float</
var></
syntax>
<
default>CacheLastModifiedFactor 0.1</
default>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
p>������ ����ð��� ������ �ֱټ������� �ִ� ��� �ֱټ�����
���� ���� �ð����� ����ð��� ����Ѵ�.
<
directive>CacheLastModifiedFactor</
directive> ���þ��
����ð��� ����ϴ� ���� ��Ŀ��� ����� <
var>factor</
var>��
<
code>expiry-period = time-since-last-modified-date * <
var>factor</
var>
expiry-date = current-date + expiry-period</
code>
���� ���, ������ 10 �ð� �� ���������� �����Ǿ�� <
var>factor</
var>��
0.1�̶�� ����Ⱓ�� 10*01 = 1 �ð��� �ȴ�. ���� �ð���
3:00pm�̶�� ����ð��� 3:00pm + 1�ð� = 4:00pm�̴�.
����Ⱓ�� <
directive>CacheMaxExpire</
directive> ���� ��ٸ�
<
directive>CacheMaxExpire</
directive>�� ����Ѵ�.</
p>
CacheLastModifiedFactor 0.5
<
description>Enable the thundering herd lock.</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheLockMaxAge</
name>
<
description>Set the maximum possible age of a cache lock.</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheLockPath</
name>
<
description>Set the lock path directory.</
description>
<
contextlist><
context>server config</
context><
context>virtual host</
context></
contextlist>
<
usage><
p>Documentation not yet translated. Please see English version of document.</
p></
usage>
<
name>CacheIgnoreHeaders</
name>
<
description>ij���� ������ HTTP ���(��)�� �������� �ʴ´�
<
syntax>CacheIgnoreHeaders <
var>header-string</
var> [<
var>header-string</
var>] ...</
syntax>
<
default>CacheIgnoreHeaders None</
default>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
p>RFC 2616�� ��� ȩ��(hop-by-hop) HTTP ����� ij����
�������� �ʴ´�. ȩ�� HTTP ������� ������ ���� ���� ������,
<
directive>CacheIgnoreHeaders</
directive> ������ ������
<
em>�</
em> ��쿡�� ij���� ������� �ʴ´�.</
p>
<
li><
code>Connection</
code></
li>
<
li><
code>Keep-Alive</
code></
li>
<
li><
code>Proxy-Authenticate</
code></
li>
<
li><
code>Proxy-Authorization</
code></
li>
<
li><
code>Trailers</
code></
li>
<
li><
code>Transfer-Encoding</
code></
li>
<
li><
code>Upgrade</
code></
li>
<
p><
directive>CacheIgnoreHeaders</
directive>�� ij���� �����ϸ�
�ȵǴ� HTTP ����� �߰��� �����Ѵ�. ���� ���, ��Ű(cookie)��
ij���� �����ϸ� �ȵǴ� ��찡 �ִ�.</
p>
<
p><
directive>CacheIgnoreHeaders</
directive>�� ij���� ��������
���� HTTP ������� ������� ������ ����� �´�. (RFC 2616��
���) ij���� ȩ�� ����� �������� ��������,
<
directive>CacheIgnoreHeaders</
directive>��
<
code>None</
code>���� �����Ѵ�.</
p>
<
example><
title>���� 1</
title>
CacheIgnoreHeaders Set-Cookie
<
example><
title>���� 2</
title>
<
note type="warning"><
title>���:</
title>
<
directive>CacheIgnoreHeaders</
directive> ������ ����Ͽ�
<
code>Expires</
code> ���� ij�� �� �ʿ��� ����� ��������
������, mod_cache�� ������������ �����Ѵ�.