Auto purge uploads from old deleted posts

안녕하세요! 지난 주에 이 문제가 어느 정도 수정된 것 같습니다…

이제 삭제된 게시글의 업로드 마크다운을 제거하는 자동화(Remove upload markup in deleted posts가 자동화 이름입니다)를 사용할 수 있게 되었습니다. 예를 들어:

 Hey it is a regular post with a link to [Discourse](https://www.discourse.org) 
 and an image: ![logo.png|100x200](upload://gj6GJHlc1Sa5YXuGz549oXBbcFv.png)
 and a file: [small.pdf|attachment](upload://3bWzVVoRhUXxi7tiPenInoebHyX.pdf) (130 Bytes)

이 게시글에서 자동화가 실행되면, 수정된 버전은 다음과 같습니다:

 Hey it is a regular post with a link to [Discourse](https://www.discourse.org) 
 and an image:
 and a file: 

그리고 이제 이 업로드들은 orphans(고아 파일) 상태가 되므로, cleanup uploads job에 의해 정리됩니다.


또한, 자가 호스팅(self-hosted) 환경이라면 s3_stale_while_revalidate와 s3_max_age 설정을 통해 캐시 제어 지시문(cache control directives)을 업데이트할 수 있습니다.

3개의 좋아요