# \#performance

**URL:** https://meta.discourse.org/tag/performance/10.md

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

---

## [Staff SiteSerializer category\_types performs one DB query per SiteSetting in configuration schemas](https://meta.discourse.org/t/staff-siteserializer-category-types-performs-one-db-query-per-sitesetting-in-configuration-schemas/410304)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 1\
**Last updated:** [August 21, 2026, 11:15am UTC](https://meta.discourse.org/t/staff-siteserializer-category-types-performs-one-db-query-per-sitesetting-in-configuration-schemas/410304 "2026-08-21T11:15:24Z")

</div>

I noticed what looks like an N-per-setting query pattern while investigating initial page-load performance for staff users. On my site, an ordinary non-staff account loads /latest noticeably faster than my admin/staff a…

---

## [Discourse-health-check: one-shot CLI overview of your Discourse server](https://meta.discourse.org/t/discourse-health-check-one-shot-cli-overview-of-your-discourse-server/404458)

<div class="topic-metadata">

**Author:** [@haydenjames](https://meta.discourse.org/u/haydenjames)\
**Replies:** 5\
**Last updated:** [June 4, 2026, 1:42pm UTC](https://meta.discourse.org/t/discourse-health-check-one-shot-cli-overview-of-your-discourse-server/404458 "2026-06-04T13:42:44Z")

</div>

A small bash script I created for my own forum that gives a one-shot health overview of Discourse server. Sharing for anyone who finds this type of quick overview useful. Checks system resources: Docker, Discourse servi…

---

## [Multiple Spotify Oneboxes causing performance issues](https://meta.discourse.org/t/multiple-spotify-oneboxes-causing-performance-issues/356465)

<div class="topic-metadata">

**Author:** [@ma0sm](https://meta.discourse.org/u/ma0sm)\
**Replies:** 2\
**Last updated:** [March 17, 2025, 12:13pm UTC](https://meta.discourse.org/t/multiple-spotify-oneboxes-causing-performance-issues/356465 "2025-03-17T12:13:36Z")

</div>

There’s an issue that many users on the Drowned in Sound community have encountered where topics which contain a large number of Spotify links are rendering the topic unusable to them. It’s been discussed there over the…

---

## [Moving posts returns 502 bad gateway](https://meta.discourse.org/t/moving-posts-returns-502-bad-gateway/75654)

<div class="topic-metadata">

**Author:** [@meglio](https://meta.discourse.org/u/meglio)\
**Replies:** 71\
**Last updated:** [January 12, 2025, 11:54am UTC](https://meta.discourse.org/t/moving-posts-returns-502-bad-gateway/75654 "2025-01-12T11:54:33Z")

</div>

I’m trying to move ~100 posts to an existing topic. After a delay of about 10 seconds, it says there was an error when moving posts in a green alert area: No new entries in /logs No useful information in console e…

---

## [Troubleshooting a slow site that was pretty zippy until this morning](https://meta.discourse.org/t/troubleshooting-a-slow-site-that-was-pretty-zippy-until-this-morning/330019)

<div class="topic-metadata">

**Author:** [@omarfilip](https://meta.discourse.org/u/omarfilip)\
**Replies:** 16\
**Last updated:** [October 13, 2024, 4:45am UTC](https://meta.discourse.org/t/troubleshooting-a-slow-site-that-was-pretty-zippy-until-this-morning/330019 "2024-10-13T04:45:29Z")

</div>

How would I go about troubleshooting a site that’s become slow (for no apparent reason) today? Resource use is very low: This is a 16 GB Memory / 4 AMD vCPUs / 200 GB Disk / SFO3 - Ubuntu 24.04 (LTS) x64 droplet wit…

---

## [Faster disk space calculation for upload heavy instances](https://meta.discourse.org/t/faster-disk-space-calculation-for-upload-heavy-instances/318997)

<div class="topic-metadata">

**Author:** [@Overgrow](https://meta.discourse.org/u/Overgrow)\
**Replies:** 3\
**Last updated:** [August 10, 2024, 10:05am UTC](https://meta.discourse.org/t/faster-disk-space-calculation-for-upload-heavy-instances/318997 "2024-08-10T10:05:49Z")

</div>

The ‘du’ command, which is used to retrieve disk space used by uploads, was causing performance issues for my admin dashboard. Yes, we have a LOT of image uploads. Rather than disabling it altogether (we have grafana/pro…

---

## [Reader badge causing performance issues](https://meta.discourse.org/t/reader-badge-causing-performance-issues/305416)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**Replies:** 0\
**Last updated:** [April 25, 2024, 1:08pm UTC](https://meta.discourse.org/t/reader-badge-causing-performance-issues/305416 "2024-04-25T13:08:35Z")

</div>

On multiple of our largest forums it’s always the same query that is causing a high database load: badge 17 (Reader), probably due to the size of topic\_timings. The explain looks quite horrendous. I don’t see any obviou…

---

## [Slow Data Explorer queries](https://meta.discourse.org/t/slow-data-explorer-queries/290217)

<div class="topic-metadata">

**Author:** [@n1bff](https://meta.discourse.org/u/n1bff)\
**Replies:** 5\
**Last updated:** [January 3, 2024, 6:49pm UTC](https://meta.discourse.org/t/slow-data-explorer-queries/290217 "2024-01-03T18:49:11Z")

</div>

I created some Data Explorer queries. If I execute them in the admin backend, the GUI shows me a very quick execution time for the DB query itself, e.g. “Query completed in 7.9 ms.” The network log of my browser shows…

---

## [Need tips on making my forum faster](https://meta.discourse.org/t/need-tips-on-making-my-forum-faster/284345)

<div class="topic-metadata">

**Author:** [@codergautam](https://meta.discourse.org/u/codergautam)\
**Replies:** 19\
**Last updated:** [December 11, 2023, 3:32pm UTC](https://meta.discourse.org/t/need-tips-on-making-my-forum-faster/284345 "2023-12-11T15:32:11Z")

</div>

My forum is scoring very badly in Lighthouse performance category and is being penalized on Google Im wondering is there any way to improve this speed? my site has around 2k members, 100k posts, and 5k topics. I a…

---

## [Page loads hung / infinite load](https://meta.discourse.org/t/page-loads-hung-infinite-load/282093)

<div class="topic-metadata">

**Author:** [@ToddZ](https://meta.discourse.org/u/ToddZ)\
**Replies:** 6\
**Last updated:** [December 9, 2023, 9:36pm UTC](https://meta.discourse.org/t/page-loads-hung-infinite-load/282093 "2023-12-09T21:36:50Z")

</div>

Since installation (standard supported Docker install) I’ve been running into frequent failures to load a page. The page retains the header and side menu, but the content area sits blank with just the loading spinner. It…

---

## [Performance optimization, what about max\_wal\_size?](https://meta.discourse.org/t/performance-optimization-what-about-max-wal-size/287422)

<div class="topic-metadata">

**Author:** [@Paracelsus](https://meta.discourse.org/u/Paracelsus)\
**Replies:** 4\
**Last updated:** [December 4, 2023, 2:10pm UTC](https://meta.discourse.org/t/performance-optimization-what-about-max-wal-size/287422 "2023-12-04T14:10:30Z")

</div>

Hi, Latest update from beta-3 to beta-4 was more “cumbersome” than usual for us and something like the following kept coming up because of the logs: Consider increasing the configuration parameter "max\_wal\_size". Sinc…

---

## [Is there a way to measure performance impact of theme components?](https://meta.discourse.org/t/is-there-a-way-to-measure-performance-impact-of-theme-components/255619)

<div class="topic-metadata">

**Author:** [@mattdm](https://meta.discourse.org/u/mattdm)\
**Replies:** 0\
**Last updated:** [February 19, 2023, 6:12pm UTC](https://meta.discourse.org/t/is-there-a-way-to-measure-performance-impact-of-theme-components/255619 "2023-02-19T18:12:06Z")

</div>

I am sometimes a bit of a theme component magpie — I see some shiny feature, and think “yes, I should bring that back to my nest!” Leaving aside “maybe don’t do that unless there is actually a compelling use case” as no…

---

## [Significant Performance Improvement by splitting of CSS to multiple files (by @media conditions)](https://meta.discourse.org/t/significant-performance-improvement-by-splitting-of-css-to-multiple-files-by-media-conditions/248452)

<div class="topic-metadata">

**Author:** [@InPeaceWeTrust](https://meta.discourse.org/u/InPeaceWeTrust)\
**Replies:** 0\
**Last updated:** [December 10, 2022, 5:38am UTC](https://meta.discourse.org/t/significant-performance-improvement-by-splitting-of-css-to-multiple-files-by-media-conditions/248452 "2022-12-10T05:38:23Z")

</div>

When CSS is bundled into one file, even after tree-shaking, it still contains a lot of unused CSS because of different @media contexts (mobile, tablet, desktop, dark/light/other themes, etc.). It’s bad for Core Web Vita…

---

## [Forum Performance Indicators](https://meta.discourse.org/t/forum-performance-indicators/231416)

<div class="topic-metadata">

**Author:** [@volanar](https://meta.discourse.org/u/volanar)\
**Replies:** 5\
**Last updated:** [June 28, 2022, 10:58pm UTC](https://meta.discourse.org/t/forum-performance-indicators/231416 "2022-06-28T22:58:06Z")

</div>

Very good performance indicators (100/100). How did they achieve this?

---

## [Using TarWriter to stream backup](https://meta.discourse.org/t/using-tarwriter-to-stream-backup/78909)

<div class="topic-metadata">

**Author:** [@riking](https://meta.discourse.org/u/riking)\
**Replies:** 3\
**Last updated:** [January 25, 2018, 1:33am UTC](https://meta.discourse.org/t/using-tarwriter-to-stream-backup/78909 "2018-01-25T01:33:53Z")

</div>

While doing research, I found that this class is already available in Discourse via require 'rubygems/package': Class: Gem::Package::TarWriter (Ruby 2.0.0) Using this should allow Discourse to take backups without havin…

---

## [Rebuild with cached locale files?](https://meta.discourse.org/t/rebuild-with-cached-locale-files/54111)

<div class="topic-metadata">

**Author:** [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Replies:** 1\
**Last updated:** [December 12, 2016, 7:58am UTC](https://meta.discourse.org/t/rebuild-with-cached-locale-files/54111 "2016-12-12T07:58:10Z")

</div>

I looked a bit at finding a way to monitor performance during rebuild, but I’m no sys dev. Anyway, I’ve noticed in the CLI a lot of “locale” related stuff scrolling by, and was wondering if for sites that have only a si…

---

## [Help us test the new header code!](https://meta.discourse.org/t/help-us-test-the-new-header-code/43184)

<div class="topic-metadata">

**Author:** [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Replies:** 27\
**Last updated:** [May 11, 2016, 5:18pm UTC](https://meta.discourse.org/t/help-us-test-the-new-header-code/43184 "2016-05-11T17:18:24Z")

</div>

I’ve just merged another client side performance improvement for Discourse. Our site header has been re-written using the widget code that gave us a huge performance increase within topics. The site header is present on…

---

## [Discourse poor on mobile has 5 blocking script resources and 2 blocking CSS resources. This causes a delay in rendering your page](https://meta.discourse.org/t/discourse-poor-on-mobile-has-5-blocking-script-resources-and-2-blocking-css-resources-this-causes-a-delay-in-rendering-your-page/35248)

<div class="topic-metadata">

**Author:** [@nur](https://meta.discourse.org/u/nur)\
**Replies:** 3\
**Last updated:** [November 5, 2015, 12:36am UTC](https://meta.discourse.org/t/discourse-poor-on-mobile-has-5-blocking-script-resources-and-2-blocking-css-resources-this-causes-a-delay-in-rendering-your-page/35248 "2015-11-05T00:36:25Z")

</div>

---

## [Anyone's using Reclaim Hosting's 2GB Ram for $10/month?](https://meta.discourse.org/t/anyones-using-reclaim-hostings-2gb-ram-for-10-month/25260)

<div class="topic-metadata">

**Author:** [@nur](https://meta.discourse.org/u/nur)\
**Replies:** 4\
**Last updated:** [July 5, 2015, 6:54am UTC](https://meta.discourse.org/t/anyones-using-reclaim-hostings-2gb-ram-for-10-month/25260 "2015-07-05T06:54:30Z")

</div>

Anyone using their service? managed discourse for $10 a month with 2GB ram - too good to be truth?

---

## [Performance deleting post in large topic](https://meta.discourse.org/t/performance-deleting-post-in-large-topic/30088)

<div class="topic-metadata">

**Author:** [@anon21958287](https://meta.discourse.org/u/anon21958287)\
**Replies:** 4\
**Last updated:** [June 17, 2015, 11:59pm UTC](https://meta.discourse.org/t/performance-deleting-post-in-large-topic/30088 "2015-06-17T23:59:39Z")

</div>

Deleting or restoring a post in a large topic (the one I saw this happen with had about 56K posts) caused performance problems for nearly 10 minutes. I was getting 504 timeouts during that period.

---

## [Unsuccessful Page loads (especially on first try)](https://meta.discourse.org/t/unsuccessful-page-loads-especially-on-first-try/29820)

<div class="topic-metadata">

**Author:** [@Matthew\_Gaudet](https://meta.discourse.org/u/Matthew_Gaudet)\
**Replies:** 2\
**Last updated:** [June 9, 2015, 8:31pm UTC](https://meta.discourse.org/t/unsuccessful-page-loads-especially-on-first-try/29820 "2015-06-09T20:31:18Z")

</div>

I’m trying to deploy a stand-alone discourse docker instance, but I’m finding that I’m getting unsuccessful page loads (blank pages). When I load the page the first time as an admin, sometimes I see miniprofiler report a…
