Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
1
  • Loading branch information
javaliv2 committed Jun 16, 2022
1 parent da6a0f6 commit ed60758
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 3 deletions.
6 changes: 6 additions & 0 deletions admin/caching_purge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<RootPurgeExpire>ON</RootPurgeExpire>
<RootHardPurge>ON</RootHardPurge>
<ResCodeNoCtrlTarget>200</ResCodeNoCtrlTarget>
<ResCodeDenyCtrlTarget>200</ResCodeNoCtrlTarget>

- ``<Purge2Expire> (기본: NONE)``

Expand Down Expand Up @@ -62,7 +63,12 @@
- ``<ResCodeNoCtrlTarget> (기본: 200)``

`Purge`_ , `Expire`_ , `HardPurge`_ , `ExpireAfter`_ 의 대상객체가 없을 때의 HTTP 응답코드를 설정한다.

- ``<ResCodeDenyCtrlTarget> (기본: 200)``

``<RootPurgeExpire>`` , ``<RootHardPurge>`` 설정에 의해서 Control API 호출이 거부 될 경우 설정된 응답코드로 응답 한다.



대상 지정은 URL, 패턴 2가지로 표현한다. ::

Expand Down
23 changes: 22 additions & 1 deletion admin/handling_http_requests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ If-Range 헤더
.. _handling_http_requests_header_lastmodifiedcheck:

If-Modified-Since 헤더 처리
---------------------
------------------------------

클라이언트가 보내는 요청의 If-Modified-Since 헤더 처리정책을 설정한다. ::

Expand All @@ -454,6 +454,27 @@ If-Modified-Since 헤더 처리



.. _handling_http_requests_header_contentfreshness:

Content Freshness 판단정책
------------------------------

클라이언트 요청에 대해 ``304 Not Modified`` 응답 판단정책을 설정한다. ::

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

<ContentFreshnessCheck>BOTH</ContentFreshnessCheck>

- ``<ContentFreshnessCheck>``

- ``BOTH (기본)`` If-Modified-Since 또는 ETag 헤더 중 하나라도 같다면 동일 콘텐츠로 판단한다.

- ``LMT`` If-Modified-Since 만으로 동일 콘텐츠로 판단한다.

- ``ETAG`` ETag 만으로 동일 콘텐츠로 판단한다.



.. _handling_http_requests_modify_client:

Expand Down
3 changes: 2 additions & 1 deletion admin/log.rst
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ Origin 로그

::

#Fields: date time cs-sid cs-tcount c-ip cs-method s-domain cs-uri s-ip sc-status cs-range sc-sock-error sc-http-error sc-content-length cs-requestsize sc-responsesize sc-bytes time-taken time-dns time-connect time-firstbyte time-complete cs-reqinfo cs-acceptencoding sc-cachecontrol s-port sc-contentencoding session-id session-type time-sock-creation x-cs-retry
#Fields: date time cs-sid cs-tcount c-ip cs-method s-domain cs-uri s-ip sc-status cs-range sc-sock-error sc-http-error sc-content-length cs-requestsize sc-responsesize sc-bytes time-taken time-dns time-connect time-firstbyte time-complete cs-reqinfo cs-acceptencoding sc-cachecontrol s-port sc-contentencoding session-id session-type time-sock-creation x-cs-retry time-request
2012.06.27 17:40:00 357 899 192.168.0.13 GET i.example.com /t/2.gif 115.71.9.136 200 - - - 3874 197 271 3874 20 0 0 17 3 - gzip+deflate - 80 gzip 7 cache
2012.06.27 17:40:00 357 900 192.168.0.13 GET i.example.com /ex1.gif 115.71.9.136 200 - - - 5673 223 272 5673 24 0 0 21 3 - - - 80 - 8 cache
2012.06.27 17:40:00 357 901 192.168.0.13 GET i.example.com /exB.jpg 115.71.9.136 200 - - - 8150 189 273 8150 13 0 0 9 4 Bypass - - 80 - 7 cache
Expand Down Expand Up @@ -628,6 +628,7 @@ Origin 로그

- ``time-sock-creation (단위: ms)`` - 소켓 생성 소요시간
- ``x-cs-retry`` - 해당 세션 Retry 상태 (Retry 시 ``Y`` , Retry 하지 않았다면 ``N`` )
- ``time-request`` - 원본서버 요청시간. ``시간:분:초.밀리세컨드 (hh:mm:ss.SSS)`` 양식. ( ``v2.7.35`` 부터 지원 )


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


.. _release-cdn-2-7-35:

2.7.35 (2022.06.16)
----------------------------

- :ref:`handling_http_requests_header_contentfreshness` 설정 기능

- 캐싱관리 - Root Purge/HardPurge를 허용하지 않는 경우 Purge API 응답 코드 설정 기능

- :ref:`admin-log-origin` - 원본 요청시간 필드 ``time-request`` 추가


**버그수정**

- HTTP/2가 활성화 되어 있는 경우 ``X-Forwarded-For`` 헤더의 값에 ``127.0.0.1`` 이 추가 되는 버그 수정



.. _release-cdn-2-7-34:

2.7.34 (2022.05.19)
Expand Down
18 changes: 18 additions & 0 deletions admin/releasenote_enterprise.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,24 @@ v22.x
====================================


.. _release-enterprise-22-06-0:

22.06.0 (2022.06.16)
----------------------------

- :ref:`handling_http_requests_header_contentfreshness` 설정 기능

- 캐싱관리 - Root Purge/HardPurge를 허용하지 않는 경우 Purge API 응답 코드 설정 기능

- :ref:`admin-log-origin` - 원본 요청시간 필드 ``time-request`` 추가


**버그수정**

- HTTP/2가 활성화 되어 있는 경우 ``X-Forwarded-For`` 헤더의 값에 ``127.0.0.1`` 이 추가 되는 버그 수정



.. _release-enterprise-22-04-0:

22.04.0 (2022.04.12)
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.34
:최신버전: v2.7.35


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

0 comments on commit ed60758

Please sign in to comment.