# Preloading custom data and fields in the topic list

**URL:** https://meta.discourse.org/t/preloading-custom-data-and-fields-in-the-topic-list/57389
**Category:** Development
**Created:** [14 בפברואר,‏ 2017,‏ 9:45pm UTC](https://meta.discourse.org/t/preloading-custom-data-and-fields-in-the-topic-list/57389 "2017-02-14T21:45:09Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [17 בינואר,‏ 2025,‏ 3:36pm UTC](https://meta.discourse.org/t/preloading-custom-data-and-fields-in-the-topic-list/57389/9 "2025-01-17T15:36:46Z")

</div>

Just for anyone reading this in 2025 I’ve written an updated version on the same topic

> [@Preloading data and dealing with N+1 Query problems](https://meta.discourse.org/t/preloading-data-and-dealing-with-n-1-query-problems/347688):
>
> When working with the Discourse rails application, whether building a plugin, or making a pull request to discourse/discourse there are a number of contexts where you’ll encounter N+1 query problems. This topic explains how to handle data preloading to address such problems and keep Discourse performant. N+1 Query Problems in Rails First, if you’re not already familiar with N+1 query problems, and how Rails addresses them, check out this section of the guides. Topics The N+1 issues to look ou…

---

_[View the full topic](https://meta.discourse.org/t/preloading-custom-data-and-fields-in-the-topic-list/57389)._
