# 1500개의 하위 주제가 있는 인덱스 페이지 렌더링

**URL:** https://meta.discourse.org/t/rendering-index-page-with-1500-subtopics/217857
**Category:** Support
**Created:** [2월 11, 2022, 8:52오전 UTC](https://meta.discourse.org/t/rendering-index-page-with-1500-subtopics/217857 "2022-02-11T08:52:48Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Amigo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amigo/32/138488_2.png) [@Amigo](https://meta.discourse.org/u/Amigo)
#### Post date: [2월 11, 2022, 8:52오전 UTC](https://meta.discourse.org/t/rendering-index-page-with-1500-subtopics/217857/1 "2022-02-11T08:52:48Z")

</div>

안녕하세요!

포럼을 채우는 중이며, 지금은 모든 것이 정상적으로 작동하고 있습니다. 하지만 포럼이 채워질수록 한 가지 문제가 발생하게 됩니다.  
저는 약 30개의 카테고리와 약 1,500개의 하위 카테고리를 가지고 있습니다. 하위 카테고리가 많을수록 메인 페이지가 형성되는 데 걸리는 시간이 길어지는 것을 알 수 있습니다(현재 약 5초 정도). 그 외에는 꽤 빠르게 작동합니다. 제 구성은 4코어, 6GB RAM, SSD입니다. 공유 버퍼는 1.5GB로 설정되어 있습니다.  
메인 페이지 로딩 속도를 높이는 데 도움이 되는 사전에 준비된 권장 사항이 있을까요? 문제는 PostgreSQL 샘플링에 있는 것 같지 않고, 메인 페이지 렌더링에 있는 것 같습니다.  
감사합니다.

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [2월 11, 2022, 8:58오전 UTC](https://meta.discourse.org/t/rendering-index-page-with-1500-subtopics/217857/2 "2022-02-11T08:58:18Z")

</div>

> [@Amigo](#):
>
> 30개 카테고리, 약 1500개의 하위 카테고리

이건 좀 과한 것 아닌가요?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2월 11, 2022, 9:04오전 UTC](https://meta.discourse.org/t/rendering-index-page-with-1500-subtopics/217857/3 "2022-02-11T09:04:36Z")

</div>

태그를 사용해 보는 것을 고려해 보셨나요?

> [@It's Time We Talked About Tags](https://meta.discourse.org/t/its-time-we-talked-about-tags/72467):
>
> Originally published at: [It’s Time We Talked About Tags](https://blog.discourse.org/2017/10/its-time-we-talked-about-tags/) Consider the typical sections of a daily newspaper: Arts, Sports, Business, Travel, Local, and World. Any given article belongs to just one of those sections, and the content in each section is quite different, such that some people, for example, may only ever read the Sports or Business sections. These are what we call categories.…

---

<div class="post-metadata">

### Author: ![Amigo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amigo/32/138488_2.png) [@Amigo](https://meta.discourse.org/u/Amigo)
#### Post date: [2월 11, 2022, 10:38오전 UTC](https://meta.discourse.org/t/rendering-index-page-with-1500-subtopics/217857/4 "2022-02-11T10:38:50Z")

</div>

어떤 수량이 허용되나요? 10? 100? 500? 1000? 어디에 그렇게 명시되어 있나요?  
해당 수량을 지원하지 않는 구성 요소는 무엇인가요?  
모든 것이 가능하다고 확신합니다. 단지 노력과 지식이 문제일 뿐입니다)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2월 11, 2022, 11:33오전 UTC](https://meta.discourse.org/t/rendering-index-page-with-1500-subtopics/217857/5 "2022-02-11T11:33:54Z")

</div>

각 포럼마다 설정과 스타일, 그리고 조직적인 요구 사항이 다르기 때문에 정확한 수치를 정하기는 어렵지만, 1,500개의 하위 카테고리는 확실히 상당히 많은 편입니다. 🙂 각 하위 카테고리별로 몇 개의 주제(topics)가 있나요? (태그를 활용하면 더 효율적으로 관리할 수 있을지도 모르겠네요)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2월 11, 2022, 12:08오후 UTC](https://meta.discourse.org/t/rendering-index-page-with-1500-subtopics/217857/6 "2022-02-11T12:08:24Z")

</div>

500에서 1000 사이인 것 같습니다. 정확한 답은 없습니다.

1500개에 대해서는 태그를 사용하는 것이 거의 확실합니다. 1500개 카테고리 중 하나를 선택하는 것도 매우 어렵기 때문입니다.

> [@Amigo](#):
>
> , 저는 메인 페이지 렌더링에 있다고 생각합니다.

그것이 전체 문제의 상당 부분을 차지하는 것 같으므로, 데스크톱을 업그레이드하고 모든 사용자에게 적용해야 할 것입니다. iPhone은 JavaScript 성능이 매우 좋으므로, 그것을 시도해 볼 수도 있습니다. 아니면 태그를 사용하는 것도 방법입니다.

---

<div class="post-metadata">

### Author: ![Amigo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amigo/32/138488_2.png) [@Amigo](https://meta.discourse.org/u/Amigo)
#### Post date: [2월 11, 2022, 12:26오후 UTC](https://meta.discourse.org/t/rendering-index-page-with-1500-subtopics/217857/7 "2022-02-11T12:26:09Z")

</div>

답변 주셔서 감사합니다 🙂 아직 포럼을 설정 중이고, 다양한 옵션을 시험해 보고 있습니다. 미세 조정이나 캐싱에 사용할 수 있는 알려진 도구가 있을 거라고 생각했어요.
