# Is the disco-toc component causing slow rendering for posts with many headings?

**URL:** https://meta.discourse.org/t/is-the-disco-toc-component-causing-slow-rendering-for-posts-with-many-headings/401085
**Category:** Site feedback
**Tags:** disco-toc
**Created:** [April 20, 2026, 9:53pm UTC](https://meta.discourse.org/t/is-the-disco-toc-component-causing-slow-rendering-for-posts-with-many-headings/401085 "2026-04-20T21:53:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [April 20, 2026, 9:53pm UTC](https://meta.discourse.org/t/is-the-disco-toc-component-causing-slow-rendering-for-posts-with-many-headings/401085/1 "2026-04-20T21:53:56Z")

</div>

I was reading [Discourse toolkit to render forms](https://meta.discourse.org/t/discourse-toolkit-to-render-forms/326439) and have the impression #disco-toc and the number of headings in that post don’t work that well together. It could also be another component. I haven’t taken a closer look. All I can say it works much better when I disable themes using [safe mode](https://meta.discourse.org/t/53504?silent=true)

This is how I expect it to work. I used [safe mode](https://meta.discourse.org/t/53504?silent=true) to disable themes and components: [https://meta.discourse.org/t/discourse-toolkit-to-render-forms/326439/4?safe\_mode=no\_themes](https://meta.discourse.org/t/discourse-toolkit-to-render-forms/326439/4?safe_mode=no_themes)

This is what happens without [safe mode](https://meta.discourse.org/t/53504?silent=true): [https://meta.discourse.org/t/discourse-toolkit-to-render-forms/326439/4](https://meta.discourse.org/t/discourse-toolkit-to-render-forms/326439/4) It takes quite long for the post to show.
