# Slow SQL query causes homepage to load in 2-4 sec

**URL:** <https://meta.discourse.org/t/slow-sql-query-causes-homepage-to-load-in-2-4-sec/74261>\
**Category:** Product Support\
**Created:** [2017 年 11 月 17 日午後 1:24 UTC](https://meta.discourse.org/t/slow-sql-query-causes-homepage-to-load-in-2-4-sec/74261 "2017-11-17T13:24:17Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2018 年 2 月 6 日午後 5:42 UTC](https://meta.discourse.org/t/slow-sql-query-causes-homepage-to-load-in-2-4-sec/74261/16 "2018-02-06T17:42:07Z")

</div>

Can you try applying:

[https://github.com/discourse/discourse/commit/884b9d4b78c39eab83f1ef39703a348459ca7764](https://github.com/discourse/discourse/commit/884b9d4b78c39eab83f1ef39703a348459ca7764)

Just update to latest tests-passed (once it hits in a few minutes)

---

_[View the full topic](https://meta.discourse.org/t/slow-sql-query-causes-homepage-to-load-in-2-4-sec/74261)._
