Apache HTTP Server Version 2.0

This document refers to the 2.0 version of Apache httpd, which is no longer maintained. Upgrade, and refer to the current version of httpd instead, documented at:
You may follow this link to go to the current version of this document.
| ����: | URI�� Ű�� ����Ͽ� ������ ij���Ѵ�. |
|---|---|
| ����: | Experimental |
| ����: | mem_cache_module |
| �ҽ�����: | mod_mem_cache.c |
�� ����� ����Ϸ��� mod_cache��
�ʿ��ϴ�. �� ����� mod_cache��
�����ϸ� ��� ��������ڸ� �����Ѵ�.
mod_mem_cache�� ���ϱ���ڸ� ij���� �����ϰų�
��ü�� �� ������ ij���ϴ� �ΰ��� ������� �����Ѵ�.
mod_mem_cache�� ���� ������ ������ ��������
ij���ϰų� ProxyPass��
������ (�����Ͻ�(reverse proxy))
mod_proxy�� �� ���������� ij���Ҷ� �ַ�
����Ѵ�.
������ URI�� Ű�� ����Ͽ� ij���� �����ϰ� �����´�. ������ �����ϴ� ������ ij���� �������� �ʴ´�.
MCacheMaxObjectCount
MCacheMaxObjectSize
MCacheMaxStreamingBuffer
MCacheMinObjectSize
MCacheRemovalAlgorithm
MCacheSize| ����: | ij���� ������ �� �ִ� �ִ� ��ü���� |
|---|---|
| ����: | MCacheMaxObjectCount value |
| �⺻��: | MCacheMaxObjectCount 1009 |
| ������: | �ּ������� |
| ����: | Experimental |
| ���: | mod_mem_cache |
MCacheMaxObjectCount ���þ��
ij���� �� �ִ� �ִ� ��ü������ �����Ѵ�. �� ���� �ؽ����̺���
���鶧 ����Ѵ�. ���ο� ��ü�� ij���� �߰��ؾ� �ϴµ� �ִ�
��ü������ �����Ͽ��ٸ�, ���ο� ��ü�� ij���� �� �ֵ���
�ٸ� ��ü�� �����Ѵ�. MCacheRemovalAlgorithm����
������ �˰������� ����Ͽ� ������ ��ü�� �����Ѵ�.
MCacheMaxObjectCount 13001
| ����: | ij���� ������ ������ �ִ� ũ�� (����Ʈ ����) |
|---|---|
| ����: | MCacheMaxObjectSize bytes |
| �⺻��: | MCacheMaxObjectSize 10000 |
| ������: | �ּ������� |
| ����: | Experimental |
| ���: | mod_mem_cache |
MCacheMaxObjectSize ���þ�� ij����
������ ������ �ִ� ũ�⸦ ����Ʈ ������ �����Ѵ�.
MCacheMaxObjectSize 6400000
MCacheMaxObjectSize ���� MCacheMinObjectSize
���þ�� ������ ������ Ŀ�� �Ѵ�.
| ����: | ������ ij�����Ѵٰ� �����ϱ� ������ �� ���ۿ� ������ ��Ʈ�� ������ �ִ� ũ�� |
|---|---|
| ����: | MCacheMaxStreamingBuffer size_in_bytes |
| �⺻��: | MCacheMaxStreamingBuffer 100000�� MCacheMaxObjectSize
�߿� ���� �� |
| ������: | �ּ������� |
| ����: | Experimental |
| ���: | mod_mem_cache |
MCacheMaxStreamingBuffer ���þ��
������ �ʹ� Ŀ�� ij���� �� ���������� ���ۿ� ������ ��Ʈ��
������ �ִ� ����Ʈ���� �����Ѵ�. ��Ʈ�� ����(streamed response)��
��ü ������ ��� �� �� ���� Content-Length��
�� �����̴�. ���Ͻõ� �����̳� CGI ��ũ��Ʈ�� �����
��Ʈ�� ���信 ���Ѵ�. �⺻������ Content-Length
����� ���ٸ� ��Ʈ�� ������ ij���� �������� �ʴ´�.
������ ij���� �����ϱ �ʹ� ū ������ �Ϻθ� ���ۿ�
�����ϱ����� ���� �� �������� �ʱ����ؼ��̴�.
MCacheMaxStreamingBuffer ���þ
����ϸ� Content-Length�� ���� ��Ʈ�� ������
������ ũ������� ���ۿ� �����Ѵ�. �ִ� ũ�⸦ �Ѿ��
���� ������ ������ ij������ �ʴ´�.
MCacheMaxStreamingBuffer�� 0��
�ƴ� ���� �����Ͽ��� Ŭ���̾�Ʈ�� ������ �ʰ� ������ �ʴ´�.
mod_mem_cache�� ��Ʈ�� ������ �Ϻθ�
���ۿ� �������ڸ��� Ŭ���̾�Ʈ�� ���������� ���� ������ͷ�
������.
# ��Ʈ�� ������ 64KB���� ij���Ѵ�:
MCacheMaxStreamingBuffer 65536
| ����: | ij���� ������ ������ �ּ� ũ�� (����Ʈ ����) |
|---|---|
| ����: | MCacheMinObjectSize bytes |
| �⺻��: | MCacheMinObjectSize 0 |
| ������: | �ּ������� |
| ����: | Experimental |
| ���: | mod_mem_cache |
MCacheMinObjectSize ���þ�� ij����
������ ������ �ּ� ũ�⸦ ����Ʈ ������ �����Ѵ�.
MCacheMinObjectSize 10000
| ����: | ij������ ������ ������ ã�� �˰����� |
|---|---|
| ����: | MCacheRemovalAlgorithm LRU|GDSF |
| �⺻��: | MCacheRemovalAlgorithm GDSF |
| ������: | �ּ������� |
| ����: | Experimental |
| ���: | mod_mem_cache |
MCacheRemovalAlgorithm ���þ��
ij������ ������ ������ ã�� �˰������� �����Ѵ�.
LRU (Least Recently Used)LRU�� ���� �������� �������� ���� ������
���� �����Ѵ�.GDSF (GreadyDual-Size)GDSF�� ij�� ����(cache miss) ���� ������
ũ�⸦ ������ ij���� ������ �켱������ �ο��Ѵ�. ����
�켱������ ���� ������ ���� �����Ѵ�.
MCacheRemovalAlgorithm GDSF
MCacheRemovalAlgorithm LRU
| ����: | ij���� ����� �ִ� �� (KByte ����) |
|---|---|
| ����: | MCacheSize KBytes |
| �⺻��: | MCacheSize 100 |
| ������: | �ּ������� |
| ����: | Experimental |
| ���: | mod_mem_cache |
MCacheSize ���þ�� ij���� �����
�ִ� ���� KByte ������ (1024 ����Ʈ ����) �����Ѵ�.
���ο� ��ü�� ij���� �߰��ؾ� �ϴµ� ��ü�� ũ�Ⱑ ����
���� ũ�ٸ� ���ο� ��ü�� ij���� �� ���������� �ٸ�
��ü�� �����Ѵ�. MCacheRemovalAlgorithm����
������ �˰������� ����Ͽ� ������ ��ü�� �����Ѵ�.
MCacheSize 700000
MCacheSize ���� MCacheMaxObjectSize
���þ�� ������ ������ Ŀ�� �Ѵ�.