# Fetch third party data for topic list

**URL:** <https://meta.discourse.org/t/fetch-third-party-data-for-topic-list/320860>\
**Category:** Development\
**Created:** [August 9, 2024, 8:43am UTC](https://meta.discourse.org/t/fetch-third-party-data-for-topic-list/320860 "2024-08-09T08:43:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [August 12, 2024, 7:21pm UTC](https://meta.discourse.org/t/fetch-third-party-data-for-topic-list/320860/5 "2024-08-12T19:21:37Z")

</div>

> [@Harshit\_Dave](#):
>
> when the page loads I should be calling the api

This is generally a bad idea. If the host serving the API is slow, your forum will be slow. If the host serving the API is down, your forum will be down. If your forum is overwhelmed, the API will be overwhelmed.

You should load the data asynchronously, for instance in a sidekiq job, and store it with the topic.

---

_[View the full topic](https://meta.discourse.org/t/fetch-third-party-data-for-topic-list/320860)._
