mod_cache.xml.ko revision 9ec258b293b038250ec81887da01318ccc350690
0e536bbae2129c15074567ddc69d4f0eaad13935slive<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
e942c741056732f50da2074b36fe59805d370650slive<?xml-stylesheet type="text/xsl" href="/style/manual.ko.xsl"?>
5f5d1b4cc970b7f06ff8ef6526128e9a27303d88nd<!-- English Revision: 105569:821993 (outdated) -->
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding Licensed to the Apache Software Foundation (ASF) under one or more
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding contributor license agreements. See the NOTICE file distributed with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding this work for additional information regarding copyright ownership.
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding The ASF licenses this file to You under the Apache License, Version 2.0
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding (the "License"); you may not use this file except in compliance with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding the License. You may obtain a copy of the License at
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd Unless required by applicable law or agreed to in writing, software
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd distributed under the License is distributed on an "AS IS" BASIS,
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd See the License for the specific language governing permissions and
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd limitations under the License.
6b6c753ed2540b753b5a015369c6dc46c053e9fend<description>URI�� Ű�� ����Ͽ� ������ ij���Ѵ�.</description>
0e536bbae2129c15074567ddc69d4f0eaad13935slive �� ����� �������� �����̴�. ������ ���� �۾����̴�...
0e536bbae2129c15074567ddc69d4f0eaad13935slive <p><module>mod_cache</module>�� ���� ��ǻ�Ϳ� �ִ� �����̳�
0e536bbae2129c15074567ddc69d4f0eaad13935slive ���Ͻõ� ������ ij���� �� �ִ� <a
0e536bbae2129c15074567ddc69d4f0eaad13935slive ȣȯ HTTP ����ij���� �����Ѵ�. <module>mod_cache</module>��
c3a3c963ad3f5b4d816b66117406d4e793049119slive ����Ϸ��� �������(storage management module)�� �ʿ��ϴ�.
c3a3c963ad3f5b4d816b66117406d4e793049119slive �⺻ ����ġ ���������� �ΰ��� ��������� �ִ�:</p>
c3a3c963ad3f5b4d816b66117406d4e793049119slive <dd>�� ��� ������ڸ� �����Ѵ�.
0e536bbae2129c15074567ddc69d4f0eaad13935slive ��(heap) �� ��ü�� ij���ϴ� �ΰ��� ����� �Ѱ��� �������
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh �����ϵ��� ������ �� �ִ�. <module>mod_mem_cache</module>��
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh �ڽ��� ���� ������ ij���ϰų�, (<dfn>�����Ͻ�(reverse proxy)</dfn>��
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh �˷���) <directive module="mod_proxy">ProxyPass</directive>��
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh ����Ͽ� <module>mod_proxy</module>�� ���� �� ����������
0e536bbae2129c15074567ddc69d4f0eaad13935slive ij���� �� �ִ�.</dd>
0e536bbae2129c15074567ddc69d4f0eaad13935slive <p>������ URI�� ���� ���� Ű�� ij���� �����ϰ� �����´�.
0e536bbae2129c15074567ddc69d4f0eaad13935slive ���ٺ�ȣ�� �� ������ ij�������ʴ´�.</p>
cf82d17373559b6163dbd6c844c1af82cab56883niq <modulelist>
cf82d17373559b6163dbd6c844c1af82cab56883niq </modulelist>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directivelist>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directive module="mod_disk_cache">CacheRoot</directive>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directive module="mod_disk_cache">CacheSize</directive>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directive module="mod_disk_cache">CacheGcInterval</directive>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directive module="mod_disk_cache">CacheDirLevels</directive>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directive module="mod_disk_cache">CacheDirLength</directive>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directive module="mod_disk_cache">CacheExpiryCheck</directive>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directive module="mod_disk_cache">CacheMinFileSize</directive>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directive module="mod_disk_cache">CacheMaxFileSize</directive>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directive module="mod_disk_cache">CacheTimeMargin</directive>
f25a7d24b966c80cc93a7039494d70cf1a20452cjailletc <directive module="mod_disk_cache">CacheGcDaily</directive>
f25a7d24b966c80cc93a7039494d70cf1a20452cjailletc <directive module="mod_disk_cache">CacheGcUnused</directive>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directive module="mod_disk_cache">CacheGcClean</directive>
cf82d17373559b6163dbd6c844c1af82cab56883niq <directive module="mod_disk_cache">CacheGcMemUsage</directive>
0e536bbae2129c15074567ddc69d4f0eaad13935slive <directive module="mod_mem_cache">MCacheMaxObjectCount</directive>
0e536bbae2129c15074567ddc69d4f0eaad13935slive <directive module="mod_mem_cache">MCacheMinObjectSize</directive>
6b6c753ed2540b753b5a015369c6dc46c053e9fend <directive module="mod_mem_cache">MCacheMaxObjectSize</directive>
6b6c753ed2540b753b5a015369c6dc46c053e9fend <directive module="mod_mem_cache">MCacheRemovalAlgorithm</directive>
6b6c753ed2540b753b5a015369c6dc46c053e9fend <directive module="mod_mem_cache">MCacheMaxStreamingBuffer</directive>
6b6c753ed2540b753b5a015369c6dc46c053e9fend </directivelist>
6b6c753ed2540b753b5a015369c6dc46c053e9fend # ���� ij�� ����<br />
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh #LoadModule disk_cache_module modules/mod_disk_cache.so<br />
0e536bbae2129c15074567ddc69d4f0eaad13935slive CacheRoot c:/cacheroot<br />
6b6c753ed2540b753b5a015369c6dc46c053e9fend CacheSize 256<br />
6b6c753ed2540b753b5a015369c6dc46c053e9fend CacheEnable disk /<br />
6b6c753ed2540b753b5a015369c6dc46c053e9fend CacheDirLevels 5<br />
6b6c753ed2540b753b5a015369c6dc46c053e9fend CacheDirLength 3<br />
0e536bbae2129c15074567ddc69d4f0eaad13935slive </IfModule> <br />
6b6c753ed2540b753b5a015369c6dc46c053e9fend LoadModule mem_cache_module modules/mod_mem_cache.so<br />
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh CacheEnable mem /<br />
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh MCacheSize 4096<br />
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh MCacheMaxObjectCount 100<br />
6b6c753ed2540b753b5a015369c6dc46c053e9fend MCacheMinObjectSize 1<br />
6b6c753ed2540b753b5a015369c6dc46c053e9fend MCacheMaxObjectSize 2048<br />
6b6c753ed2540b753b5a015369c6dc46c053e9fend </IfModule><br />
6b6c753ed2540b753b5a015369c6dc46c053e9fend </IfModule>
6b6c753ed2540b753b5a015369c6dc46c053e9fend </example>
6b6c753ed2540b753b5a015369c6dc46c053e9fend<directivesynopsis>
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd<description>������ ������ڸ� ����Ͽ� ������ URL�� ij���Ѵ�</description>
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd<syntax>CacheEnable <var>cache_type</var> <var>url-string</var></syntax>
6b6c753ed2540b753b5a015369c6dc46c053e9fend<contextlist><context>server config</context><context>virtual host</context>
6b6c753ed2540b753b5a015369c6dc46c053e9fend</contextlist>
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh <p><directive>CacheEnable</directive> ���þ ����ϸ�
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh <module>mod_cache</module>�� <var>url-string</var> ����
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh url���� ij���Ѵ�. ij�� ������ڴ� <var>cache_type</var>
6b6c753ed2540b753b5a015369c6dc46c053e9fend �ƱԸ�Ʈ�� �����Ѵ�. <var>cache_type</var> <code>mem</code>��
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd ������ڸ� ����Ѵ�. <var>cache_type</var> <code>disk</code>��
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd ������ڸ� ����Ѵ�. <var>cache_type</var> <code>fd</code>��
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd <module>mod_mem_cache</module>�� �����ϴ� ���ϱ���� ij����
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd ����Ѵ�.</p>
13c7ff50f27aefa2594d33089fcff6ceb9796fe7niq <p>(�Ʒ� ���� ����) URL ���� �ٸ�
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd �� ������ڰ� ��û�� ó���Ҷ����� �� ������ڸ� ���
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd �����Ѵ�. �������Ͽ��� <directive>CacheEnable</directive>
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd ���þ��� ���� ������ڰ� ����ȴ�.</p>
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd CacheEnable mem /manual<br />
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh CacheEnable fd /images<br />
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd CacheEnable disk /<br />
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd</directivesynopsis>
85de14673fcf3f0241dbc39a33353d992e74b2a2mrumph<directivesynopsis>
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd<contextlist><context>server config</context><context>virtual host</context>
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd</contextlist>
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh <p><directive>CacheDisable</directive> ���þ ����ϸ�
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh <module>mod_cache</module>�� <var>url-string</var> ������
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd CacheDisable /local_files
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd</directivesynopsis>
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd<directivesynopsis>
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd<contextlist><context>server config</context><context>virtual host</context>
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd</contextlist>
87e0bf269cc3386ee8e6ab561ff00770151f4f53niq <p><directive>CacheMaxExpire</directive> ���þ�� ���� ������
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh �˻������ʰ� ij�������� HTTP ������ ������ �� �ִ� �ʴ���
c07f5b18040b0d39b077666ad6fbbd28fe0eb5f1sf �ִ�ð��� �����Ѵ�. ��, ������ �ִ��� �� ��������ŭ �����Ǿ��.
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh ������ ����ð��� �����Ͽ��� �� �ִ밪�� ��Ų��.</p>
3de79423346e00a8f6e43b16f80091075d03cdb3covener CacheMaxExpire 604800
3de79423346e00a8f6e43b16f80091075d03cdb3covener</directivesynopsis>
3de79423346e00a8f6e43b16f80091075d03cdb3covener<directivesynopsis>
0e536bbae2129c15074567ddc69d4f0eaad13935slive<description>����ð��� ������������ ������ ij���� �⺻ �Ⱓ.</description>
0e536bbae2129c15074567ddc69d4f0eaad13935slive<contextlist><context>server config</context><context>virtual host</context>
0e536bbae2129c15074567ddc69d4f0eaad13935slive</contextlist>
73e8095a7d2ab7eecccebb728f6f45b56eebda0ajailletc <p><directive>CacheDefaultExpire</directive> ���þ�� ������
8c4a22558217275b260d4348ef18db8afe932557rjung ����ð��� �ֱټ����ð��� ��� ��� ������ ij���� �ʴ���
6b6c753ed2540b753b5a015369c6dc46c053e9fend �⺻ �ð��� �����Ѵ�. <directive>CacheMaxExpire</directive>��
aaab2e78820aacae891d78f8ef55b58d5bc860f3covener CacheDefaultExpire 86400
13c7ff50f27aefa2594d33089fcff6ceb9796fe7niq</directivesynopsis>
0e536bbae2129c15074567ddc69d4f0eaad13935slive<directivesynopsis>
0e536bbae2129c15074567ddc69d4f0eaad13935slive<description>���信 Last Modified ����� ��ٴ� ����� �����Ѵ�.</description>
8de9acdcea53109461287090fe0069a665352833rbowen<contextlist><context>server config</context><context>virtual host</context>
8de9acdcea53109461287090fe0069a665352833rbowen</contextlist>
8de9acdcea53109461287090fe0069a665352833rbowen <p>���� �ֱټ������� ��� ������ ij������ �ʴ´�. � ���
8de9acdcea53109461287090fe0069a665352833rbowen �ֱټ������� (���� ��� <module>mod_include</module> ó���߿�)
8de9acdcea53109461287090fe0069a665352833rbowen ���ų� ó������ ����� ���� �ִ�.
6b6c753ed2540b753b5a015369c6dc46c053e9fend <directive>CacheIgnoreNoLastMod</directive> ���þ�� �ֱټ�������
6b6c753ed2540b753b5a015369c6dc46c053e9fend ��� ������ �ݵ�� ij���ϵ��� �����. ������ �ֱټ����ϰ�
6b6c753ed2540b753b5a015369c6dc46c053e9fend ����� ��� ��� <directive>CacheDefaultExpire</directive>
6b6c753ed2540b753b5a015369c6dc46c053e9fend ���þ�� ������ ���� ����ð����� ����Ѵ�.</p>
6b6c753ed2540b753b5a015369c6dc46c053e9fend CacheIgnoreNoLastMod On
6b6c753ed2540b753b5a015369c6dc46c053e9fend </example>
64dbb5532fba398c5e81efeb21c7fd50c05819d7niq</directivesynopsis>
8de9acdcea53109461287090fe0069a665352833rbowen<directivesynopsis>
8de9acdcea53109461287090fe0069a665352833rbowen<description>Ŭ���̾�Ʈ�� ij�������ʴ� ������ ��û���� �����Ѵ�.</description>
64dbb5532fba398c5e81efeb21c7fd50c05819d7niq<contextlist><context>server config</context><context>virtual host</context>
64dbb5532fba398c5e81efeb21c7fd50c05819d7niq</contextlist>
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd <p>���� no-cache�� no-store ������� ���� ������ ij����
85421040560a053c3ea7c686ba6179da4b45a394takashi ���������ʴ´�. <directive>CacheIgnoreCacheControl</directive>
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd ���þ�� �̷� �ൿ�� �����Ѵ�.
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd <directive>CacheIgnoreCacheControl</directive> On�� ����ϸ�
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd ������ ������ no-cache�� no-store ������� �־ ������
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd CacheIgnoreCacheControl On
8de9acdcea53109461287090fe0069a665352833rbowen</directivesynopsis>
45dffe6c346dd73571ccaead10295fc7d53b59a6covener<directivesynopsis>
2a0dfc67eb4b93137c089d8631a846e1f720fa8djailletc<description>LastModified �ð����� ����ð��� ����ϴµ� ����ϴ�
2a0dfc67eb4b93137c089d8631a846e1f720fa8djailletc���.</description>
6b6c753ed2540b753b5a015369c6dc46c053e9fend<contextlist><context>server config</context><context>virtual host</context>
16b70fcb18331955cf2ed78a0da8b9ddeb8cb435nd</contextlist>
13c7ff50f27aefa2594d33089fcff6ceb9796fe7niq <p>������ ����ð��� ������ �ֱټ������� �ִ� ��� �ֱټ�����
0e536bbae2129c15074567ddc69d4f0eaad13935slive ���� ���� �ð����� ����ð��� ����Ѵ�.
22a7cd38c192adb811c7ab9bcba7b9261bf1c9edchrisd ����ð��� ����ϴ� ���� ��Ŀ��� ����� <var>factor</var>��
8b62482475bfad02d7cffe3ef0ac5cf0682570e9chrisd <code>expiry-period = time-since-last-modified-date * <var>factor</var>
16b70fcb18331955cf2ed78a0da8b9ddeb8cb435nd expiry-date = current-date + expiry-period</code>
16b70fcb18331955cf2ed78a0da8b9ddeb8cb435nd ���� ���, ������ 10 �ð� �� ���������� �����Ǿ�� <var>factor</var>��
13c7ff50f27aefa2594d33089fcff6ceb9796fe7niq 0.1�̶�� ����Ⱓ�� 10*01 = 1 �ð��� �ȴ�. ���� �ð���
13c7ff50f27aefa2594d33089fcff6ceb9796fe7niq 3:00pm�̶�� ����ð��� 3:00pm + 1�ð� = 4:00pm�̴�.
87e0bf269cc3386ee8e6ab561ff00770151f4f53niq CacheLastModifiedFactor 0.5
87e0bf269cc3386ee8e6ab561ff00770151f4f53niq </example>
c07f5b18040b0d39b077666ad6fbbd28fe0eb5f1sf</directivesynopsis>
87e0bf269cc3386ee8e6ab561ff00770151f4f53niq<directivesynopsis>
87e0bf269cc3386ee8e6ab561ff00770151f4f53niq<description>ij���� ������ HTTP ���(��)�� �������� �ʴ´�
c07f5b18040b0d39b077666ad6fbbd28fe0eb5f1sf</description>
c07f5b18040b0d39b077666ad6fbbd28fe0eb5f1sf<syntax>CacheIgnoreHeaders <var>header-string</var> [<var>header-string</var>] ...</syntax>
c07f5b18040b0d39b077666ad6fbbd28fe0eb5f1sf<contextlist><context>server config</context><context>virtual host</context>
87e0bf269cc3386ee8e6ab561ff00770151f4f53niq</contextlist>
cf82d17373559b6163dbd6c844c1af82cab56883niq <p>RFC 2616�� ��� ȩ��(hop-by-hop) HTTP ����� ij����
0e536bbae2129c15074567ddc69d4f0eaad13935slive �������� �ʴ´�. ȩ�� HTTP ������� ������ ���� ���� ������,
0e536bbae2129c15074567ddc69d4f0eaad13935slive <directive>CacheIgnoreHeaders</directive> ������ ������
0e536bbae2129c15074567ddc69d4f0eaad13935slive <p><directive>CacheIgnoreHeaders</directive>�� ij���� �����ϸ�
a99c5d4cc3cab6a62b04d52000dbc22ce1fa2d94coar �ȵǴ� HTTP ����� �߰��� �����Ѵ�. ���� ���, ��Ű(cookie)��
aaab2e78820aacae891d78f8ef55b58d5bc860f3covener ij���� �����ϸ� �ȵǴ� ��찡 �ִ�.</p>
0e536bbae2129c15074567ddc69d4f0eaad13935slive <p><directive>CacheIgnoreHeaders</directive>�� ij���� ��������
0e536bbae2129c15074567ddc69d4f0eaad13935slive ���� HTTP ������� ������� ������ ����� �´�. (RFC 2616��
0e536bbae2129c15074567ddc69d4f0eaad13935slive ���) ij���� ȩ�� ����� �������� ��������,
49f7784ac6f5c19171f4a926ee152d1141d74bb2covener CacheIgnoreHeaders Set-Cookie
a99c5d4cc3cab6a62b04d52000dbc22ce1fa2d94coar </example>
49f7784ac6f5c19171f4a926ee152d1141d74bb2covener CacheIgnoreHeaders None
49f7784ac6f5c19171f4a926ee152d1141d74bb2covener <directive>CacheIgnoreHeaders</directive> ������ ����Ͽ�
e4cfb943c9bfdf1ccc92822b79898168314bf434covener ������, mod_cache�� ������������ �����Ѵ�.
e4cfb943c9bfdf1ccc92822b79898168314bf434covener</directivesynopsis>
49f7784ac6f5c19171f4a926ee152d1141d74bb2covener</modulesynopsis>