# 자동 헤더 앵커를 위해 재빌드(Rebaking)?

**URL:** <https://meta.discourse.org/t/rebaking-for-automatic-header-anchors/186106>\
**Category:** Support\
**Created:** [4월 8, 2021, 4:23오후 UTC](https://meta.discourse.org/t/rebaking-for-automatic-header-anchors/186106 "2021-04-08T16:23:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**Post date:** [4월 8, 2021, 4:23오후 UTC](https://meta.discourse.org/t/rebaking-for-automatic-header-anchors/186106/1 "2021-04-08T16:23:08Z")

</div>

이 기능을 보고 정말 설레었습니다:

> [@2.7.0.beta6: 자동 그룹 아바타 플레어, 개선된 사용자 교육 콘텐츠, 북마크 고정 등](https://meta.discourse.org/t/2-7-0-beta6-automatic-group-avatar-flair-improved-user-education-content-bookmark-pinning-and-more/185908#automatic-header-anchor-links):
>
> New features in 2.7.0.beta6 Move site updated modal into a less obtrusive prompt As those who read these notes can attest to, Discourse is constantly receiving updates. When a site admin updates the site, end-users need to refresh their browser to take advantage of the changes. If an end-user does not do so within 24 hours of an update, they’ll receive a message prompting them to refresh. This message previously appeared as a modal, blocking the user from taking any further actions. It now appea…

Maker Forums를 2.7.0.beta6로 업그레이드했는데, 기존 게시물에 앵커가 표시되려면 HTML을 다시 빌드(rebake)해야 하는 것 같습니다. 이는 완전히 합리적인 일입니다. 사이트 전체에 이 기능을 활성화하려면 제가 수동으로 처리해야 하는 작업이라고 추측하고 있습니다. 하지만 제 포럼에는 40만 개가 넘는 게시물이 있어 불필요한 재빌드를 피하고 싶기 때문에 `posts:rebake`는 제게 적합하지 않습니다. 다음 스레드를 확인했습니다:

> [@My journey into a massive posts rebake job](https://meta.discourse.org/t/my-journey-into-a-massive-posts-rebake-job/84816/8?u=mcdanlj):
>
> I think there’s also a ‘version’ column on the posts table that you can null out to cause gradual rebaking, too. I think it does 100 posts every time the job triggers.

이것이 좋은 아이디어일까요?

```plaintext
Post.where("cooked LIKE '%<h%'").update_all('baked_version = NULL')

```

또한, `#automatic-header-anchor-links`로 링크한 상단 링크에서, 디스코urs 내부 앵커 링크 섹션에 대해 원박스(oneboxing)가 아직 인식하지 못하는 것 같습니다(위키피디아 앵커 원박싱은 지원하죠, 정말 훌륭합니다). 곧 원박싱이 이 부분도 지원하게 되기를 기대하고 있습니다. ☺

---

_[View the full topic](https://meta.discourse.org/t/rebaking-for-automatic-header-anchors/186106)._
