Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
1
  • Loading branch information
winesoft committed Jul 27, 2021
1 parent af10b9d commit 033d5d8
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 7 deletions.
48 changes: 42 additions & 6 deletions admin/handling_http_requests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -312,22 +312,58 @@ ETag 헤더
기본응답 헤더
====================================

원본 비표준 헤더
.. _handling_http_requests_headers_originalheader:

헤더 캐싱
---------------------

성능과 보안상의 이유로 원본서버가 보내는 헤더 중 표준헤더만을 선택적으로 인식한다. ::
성능과 보안상의 이유로 원본서버가 보내는 헤더 중 캐싱과 관련된 표준 헤더만을 선별적으로 인식한다.

.. note::

어떠한 경우라도 다음 헤더는 캐싱할 수 없다.

- ``cookie``
- ``set-cookie``
- ``set-cookie2``


원본이 응답하는 헤더를 캐싱하기 위해서는 추가 설정이 필요하다. ::

# server.xml - <Server><VHostDefault><Options>
# vhosts.xml - <Vhosts><Vhost><Options>

<OriginalHeader>OFF</OriginalHeader>
<OriginalHeader Standard="OFF">OFF</OriginalHeader>

- ``<OriginalHeader>``

- ``OFF (기본)`` 표준헤더가 아니라면 무시한다.
- ``OFF (기본)`` 다음 헤더만을 캐싱한다.

- ``Cache-Control``
- ``Content-Disposition``
- ``Content-Encoding``
- ``Content-Length``
- ``Content-Type``
- ``Expire``
- ``Transfer-Encoding``
- ``Server``

- ``ON`` 위 목록 이외의 헤더를 캐싱한다.

- ``Standard="OFF" (기본)`` 비표준 헤더만을 캐싱한다.

- ``Standard="ON"`` 비표준 헤더와 다음 목록의 헤더를 추가로 캐싱한다.

- ``Content-Language``
- ``Content-Location``
- ``Content-MD5``
- ``Proxy-Authenticate``
- ``Retry-After``
- ``TE``
- ``Trailer``
- ``Warning``
- ``WWW-Authenticate``

- ``ON`` cookie, set-cookie, set-cookie2를 제외한 모든 헤더를 저장하여 클라이언트에게 전달한다.
단, 메모리와 저장비용을 좀 더 소비한다.


.. _handling_http_requests_basic_via:
Expand Down
9 changes: 9 additions & 0 deletions admin/releasenote.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ Appendix E: 릴리스 노트
v2.7.x
====================================

2.7.25 (2021.07.26)
----------------------------

**기능개선/정책변경**

- MP4HLS – 비정상 인코딩 MP4 파일 호환성 강화
- :ref:`handling_http_requests_headers_originalheader` - 캐싱 정책과 무관한 원본헤더 값 추가 가능



2.7.24 (2021.06.22)
----------------------------
Expand Down
2 changes: 1 addition & 1 deletion index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ STON Edge Server 완벽 가이드


:저자: STON 개발팀
:최신버전: v2.7.24
:최신버전: v2.7.25


1부. STON 기본: 설정 배우기
Expand Down

0 comments on commit 033d5d8

Please sign in to comment.