Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
1
  • Loading branch information
javaliv2 committed Apr 14, 2022
1 parent 504de05 commit 8f1d0ba
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
13 changes: 12 additions & 1 deletion admin/caching_purge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ POST 규격

<Cache>
<ControlAPI>sync</ControlAPI>
<AsyncControlTarget>PATTERN</AsyncControlTarget>
</Cache>


Expand All @@ -290,11 +291,21 @@ POST 규격
- ``async`` 무효화 API가 비동기로 동작한다.


- ``<AsyncControlTarget>`` 비동기 무효화로 구성된 상태라도, 요청된 URL에 따라 선별적으로 비동기 처리한다.

- ``pattern (기본)`` 패턴(*) 요청에 대해서만 비동기 처리한다.

- ``all`` 모든 요청을 비동기 처리한다.


비동기로 동작하는 경우 무효화 요청은 큐에 저장되며 백그라운드로 수행된다.

.. note::

백그라운드 수행 이전이라도 접근되는 콘텐츠가 무효화 대상이라면 즉시 만료된다.
- 백그라운드 수행 이전이라도 접근되는 콘텐츠가 무효화 대상이라면 즉시 만료된다.

- 비동기 API를 호출했으나 동기로 처리되었다면 ``201 Created`` 로 응답한다.


호출 규격은 아래과 같다. ::

Expand Down
4 changes: 4 additions & 0 deletions admin/releasenote.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ v2.7.x
2.7.32 (2022.03.15)
----------------------------

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

- :ref:`caching-purge-async` 수행시 요청된 URL에 따라 선별적으로 동기로 처리할 수 있는 ``<AsyncControlTarget>`` 설정 추가


**버그수정**

Expand Down

0 comments on commit 8f1d0ba

Please sign in to comment.