Apache HTTP Server Version 2.4

| ����: | URI�� Ű�� ����Ͽ� ������ ij���Ѵ�. |
|---|---|
| ����: | Experimental |
| ����: | cache_module |
| �ҽ�����: | mod_cache.c |
mod_cache�� ���� ��ǻ�Ϳ� �ִ� �����̳�
���Ͻõ� ������ ij���� �� �ִ� RFC 2616
ȣȯ HTTP ����ij���� �����Ѵ�. mod_cache��
����Ϸ��� ����������(storage management module)�� �ʿ��ϴ�.
�⺻ ����ġ ���������� �ΰ��� ������������ �ִ�:
mod_cache_diskmod_mem_cachemod_mem_cache�� ���ϱ���ڸ� ij���ϰų�
��(heap) ������ ��ü�� ij���ϴ� �ΰ��� ����� �Ѱ��� �������
�����ϵ��� ������ �� �ִ�. mod_mem_cache��
�ڽ��� ������ ������ ij���ϰų�, (�����Ͻ�(reverse proxy)��
�˷���) ProxyPass��
����Ͽ� mod_proxy�� ���� �� ����������
ij���� �� �ִ�.������ URI�� ���� ���� Ű�� ij���� �����ϰ� �����´�. ���ٺ�ȣ�� �� ������ ij�������ʴ´�.
CacheDefaultExpire
CacheDetailHeader
CacheDisable
CacheEnable
CacheHeader
CacheIgnoreCacheControl
CacheIgnoreHeaders
CacheIgnoreNoLastMod
CacheIgnoreQueryString
CacheIgnoreURLSessionIdentifiers
CacheKeyBaseURL
CacheLastModifiedFactor
CacheLock
CacheLockMaxAge
CacheLockPath
CacheMaxExpire
CacheMinExpire
CacheQuickHandler
CacheStaleOnError
CacheStoreExpired
CacheStoreNoStore
CacheStorePrivate| ���õ� ��� | ���õ� ���þ� |
|---|---|
#
# ���� ij�� ����
#
LoadModule cache_module modules/mod_cache.so
<IfModule mod_cache.c>
#LoadModule cache_disk_module modules/mod_cache_disk.so
<IfModule mod_cache_disk.c>
CacheRoot c:/cacheroot
CacheSize 256
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
</IfModule>
LoadModule mem_cache_module modules/mod_mem_cache.so
<IfModule mod_mem_cache.c>
CacheEnable mem /
MCacheSize 4096
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048
</IfModule>
</IfModule>
| ����: | ����ð��� ������������ ������ ij���� �⺻ �Ⱓ. |
|---|---|
| ����: | CacheDefaultExpire seconds |
| �⺻��: | CacheDefaultExpire 3600 (one hour) |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
CacheDefaultExpire ���þ�� ������
����ð��� �ֱټ����ð��� ���� ��� ������ ij���� �ʴ���
�⺻ �ð��� �����Ѵ�. CacheMaxExpire��
������ ���� �� ������ �������� �ʴ´�.
CacheDefaultExpire 86400
| ����: | Add an X-Cache-Detail header to the response. |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ, directory, .htaccess |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.
| ����: | Ư�� URL�� ij������ �ʴ´� |
|---|---|
| ����: | CacheDisable url-string |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
CacheDisable ���þ ����ϸ�
mod_cache�� url-string ������
url���� ij������ �ʴ´�.
CacheDisable /local_files
| ����: | ������ ��������ڸ� ����Ͽ� ������ URL�� ij���Ѵ� |
|---|---|
| ����: | CacheEnable cache_type url-string |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
CacheEnable ���þ ����ϸ�
mod_cache�� url-string ����
url���� ij���Ѵ�. ij�� ��������ڴ� cache_type
�ƱԸ�Ʈ�� �����Ѵ�. cache_type mem��
mod_mem_cache�� �����ϴ� ���
��������ڸ� ����Ѵ�. cache_type disk��
mod_cache_disk�� �����ϴ� ��ũ���
��������ڸ� ����Ѵ�. cache_type fd��
mod_mem_cache�� �����ϴ� ���ϱ���� ij����
����Ѵ�.
(�Ʒ� ���� ����) URL ������ �ٸ�
CacheEnable ���þ�� ��ġ�� ������
�� ��������ڰ� ��û�� ó���Ҷ����� �� ��������ڸ� ���
�����Ѵ�. �������Ͽ��� CacheEnable
���þ��� ������� ��������ڰ� ����ȴ�.
CacheEnable mem /manual
CacheEnable fd /images
CacheEnable disk /
| ����: | Add an X-Cache header to the response. |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ, directory, .htaccess |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.
| ����: | Ŭ���̾�Ʈ�� ij�������ʴ� ������ ��û���� �����Ѵ�. |
|---|---|
| ����: | CacheIgnoreCacheControl On|Off |
| �⺻��: | CacheIgnoreCacheControl Off |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
���� no-cache�� no-store ������� ���� ������ ij����
���������ʴ´�. CacheIgnoreCacheControl
���þ�� �̷� �ൿ�� �����Ѵ�.
CacheIgnoreCacheControl On�� ����ϸ�
������ ������ no-cache�� no-store ������� �־ ������
ij���Ѵ�. ������ �ʿ��� ������ ����� ij������
�ʴ´�.
CacheIgnoreCacheControl On
| ����: | ij���� ������ HTTP ���(��)�� �������� �ʴ´� |
|---|---|
| ����: | CacheIgnoreHeaders header-string [header-string] ... |
| �⺻��: | CacheIgnoreHeaders None |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
RFC 2616�� ������ ȩ��(hop-by-hop) HTTP ����� ij����
�������� �ʴ´�. ȩ�� HTTP ������� ������ ���� ���� ������,
CacheIgnoreHeaders ������ �������
� ��쿡�� ij���� ������� �ʴ´�.
ConnectionKeep-AliveProxy-AuthenticateProxy-AuthorizationTETrailersTransfer-EncodingUpgradeCacheIgnoreHeaders�� ij���� �����ϸ�
�ȵǴ� HTTP ����� �߰��� �����Ѵ�. ���� ���, ��Ű(cookie)��
ij���� �����ϸ� �ȵǴ� ��찡 �ִ�.
CacheIgnoreHeaders�� ij���� ��������
���� HTTP ������� �������� ������ ����� �´�. (RFC 2616��
����) ij���� ȩ�� ����� �������� ��������,
CacheIgnoreHeaders��
None���� �����Ѵ�.
CacheIgnoreHeaders Set-Cookie
CacheIgnoreHeaders None
CacheIgnoreHeaders ������ ����Ͽ�
Expires ���� ij�� ������ �ʿ��� ����� ��������
������, mod_cache�� ������������ �����Ѵ�.
| ����: | ���信 Last Modified ����� ���ٴ� ����� �����Ѵ�. |
|---|---|
| ����: | CacheIgnoreNoLastMod On|Off |
| �⺻��: | CacheIgnoreNoLastMod Off |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
���� �ֱټ������� ���� ������ ij������ �ʴ´�. � ���
�ֱټ������� (���� ��� mod_include ó���߿�)
���ų� ó������ ������ ���� �ִ�.
CacheIgnoreNoLastMod ���þ�� �ֱټ�������
���� ������ �ݵ�� ij���ϵ��� �����. ������ �ֱټ����ϰ�
����� ���� ��� CacheDefaultExpire
���þ�� ������ ���� ����ð����� ����Ѵ�.
CacheIgnoreNoLastMod On
| ����: | Ignore query string when caching |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.
| ����: | Ignore defined session identifiers encoded in the URL when caching |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.
| ����: | Override the base URL of reverse proxied cache keys. |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.
| ����: | LastModified �ð����� ����ð��� ����ϴµ� ����ϴ� ���. |
|---|---|
| ����: | CacheLastModifiedFactor float |
| �⺻��: | CacheLastModifiedFactor 0.1 |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
������ ����ð��� ������ �ֱټ������� �ִ� ��� �ֱټ�����
���� ���� �ð����� ����ð��� ����Ѵ�.
CacheLastModifiedFactor ���þ��
����ð��� ����ϴ� ���� ���Ŀ��� ����� factor��
�����Ѵ�:
expiry-period = time-since-last-modified-date * factor
expiry-date = current-date + expiry-period
���� ���, ������ 10 �ð� ���� ���������� �����Ǿ��� factor��
0.1�̶�� ����Ⱓ�� 10*01 = 1 �ð��� �ȴ�. ���� �ð���
3:00pm�̶�� ����ð��� 3:00pm + 1�ð� = 4:00pm�̴�.
����Ⱓ�� CacheMaxExpire ���� ��ٸ�
CacheMaxExpire�� ����Ѵ�.
CacheLastModifiedFactor 0.5
| ����: | Enable the thundering herd lock. |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.
| ����: | Set the maximum possible age of a cache lock. |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.
| ����: | Set the lock path directory. |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.
| ����: | ������ ij���ϴ� �ʴ��� �ִ�ð� |
|---|---|
| ����: | CacheMaxExpire seconds |
| �⺻��: | CacheMaxExpire 86400 (�Ϸ�) |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
CacheMaxExpire ���þ�� ���� ������
�˻������ʰ� ij�������� HTTP ������ ������ �� �ִ� �ʴ���
�ִ�ð��� �����Ѵ�. ��, ������ �ִ��� �� ��������ŭ �����Ǿ���.
������ ����ð��� �����Ͽ��� �� �ִ밪�� ��Ų��.
CacheMaxExpire 604800
| ����: | The minimum time in seconds to cache a document |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ, directory, .htaccess |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.
| ����: | Run the cache from the quick handler. |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.
| ����: | Serve stale content in place of 5xx responses. |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ, directory, .htaccess |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.
| ����: | Attempt to cache responses that the server reports as expired |
|---|---|
| ����: | |
| ������: | �ּ�������, ����ȣ��Ʈ, directory, .htaccess |
| ����: | Experimental |
| ���: | mod_cache |
Documentation not yet translated. Please see English version of document.