# Onderwerpen laden langzaam of helemaal niet als ze veel reacties hebben en de gebruiker er een bladwijzer in heeft staan

**URL:** <https://meta.discourse.org/t/topics-load-slow-or-not-at-all-when-they-have-many-replies-and-user-has-bookmark-in-them/166201>\
**Category:** Bug\
**Created:** [4 oktober 2020 om 15:26 UTC](https://meta.discourse.org/t/topics-load-slow-or-not-at-all-when-they-have-many-replies-and-user-has-bookmark-in-them/166201 "2020-10-04T15:26:50Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Lovgren](https://avatars.discourse-cdn.com/v4/letter/l/a3d4f5/32.png) [@Lovgren](https://meta.discourse.org/u/Lovgren)\
**Post date:** [4 oktober 2020 om 17:56 UTC](https://meta.discourse.org/t/topics-load-slow-or-not-at-all-when-they-have-many-replies-and-user-has-bookmark-in-them/166201/3 "2020-10-04T17:56:13Z")

</div>

If not too much of an inconvenience, could you try setting a timed reminder when setting the bookmark on step 2 in the reproduction description and see whether anything changes? That’s what finally made it reproducible for myself (specifically setting a reminder for “Monday” in my case).

This caused my .json-request related to the bookmarked post id to start delivering 302 after trying for 30 seconds, as seen in the image below. (occurs as I click on the bookmark-link on my profile menu).

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/f/7fa6b8fc8124db0ee91fd4befe736b59f335f42d.png)

By coincidence, I also noticed that search queries started exhibiting a similar behavior, although only slowing down immensely, once searching for anything in any subform, including those without any bookmarked posts what so ever.:

_[Redacted image of slow search queries from Chromium dev tools as oly 1 embed was permitted]_

From other experiences, it smells like some sort of SQL N+1-issue to me, but I’m far from well-versed enough in neither Discourse code nor Ruby itself to know whether perhaps a cyclic json model or similar would present itself in the same manner.

---

_[View the full topic](https://meta.discourse.org/t/topics-load-slow-or-not-at-all-when-they-have-many-replies-and-user-has-bookmark-in-them/166201)._
