# How to add a loading page, some like Gmail?

**URL:** https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067
**Category:** UX
**Created:** [16. April 2017 um 18:51 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067 "2017-04-16T18:51:55Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![kudouyuzi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kudouyuzi/32/68780_2.png) [@kudouyuzi](https://meta.discourse.org/u/kudouyuzi)
#### Post date: [16. April 2017 um 18:51 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/1 "2017-04-16T18:51:55Z")

</div>

How to add a loading page, some like Gmail?

---

<div class="post-metadata">

### Author: ![EducatorWaji](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/educatorwaji/32/66699_2.png) [@EducatorWaji](https://meta.discourse.org/u/EducatorWaji)
#### Post date: [16. April 2017 um 18:55 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/2 "2017-04-16T18:55:00Z")

</div>

Let me ask you? Why would you want to do that. It is a huge turn off for me, if I see that sort of thing in any of the forums I visit

---

<div class="post-metadata">

### Author: ![kudouyuzi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kudouyuzi/32/68780_2.png) [@kudouyuzi](https://meta.discourse.org/u/kudouyuzi)
#### Post date: [16. April 2017 um 19:01 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/3 "2017-04-16T19:01:00Z")

</div>

I did not find a solution in the forum.  
I need this because the discourse load takes a long time.  
THX

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [16. April 2017 um 19:15 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/4 "2017-04-16T19:15:57Z")

</div>

If you really need a “Loading, please wait…” page, certantly something is wrong in your site or your server is very busy or with too little RAM.

Try to understand why your site is slow before anything else.

---

<div class="post-metadata">

### Author: ![EducatorWaji](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/educatorwaji/32/66699_2.png) [@EducatorWaji](https://meta.discourse.org/u/EducatorWaji)
#### Post date: [16. April 2017 um 20:00 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/5 "2017-04-16T20:00:39Z")

</div>

Let’s not cover up the basic problem your site have. We the entire community will try to help you. In an average, as far I have seen discourse only takes about 8 seconds to load the entire site.

I would like to get answers to a few questions I ask you below. So that, I or any other good member in this community can help you.

1. Which hosting provider you are with?
2. Which plan?
3. How many GB’s of RAM?
4. Have you followed the discourse supported docker install. (If the answer for this question is no, please try to install using the supported Install method)

---

<div class="post-metadata">

### Author: ![kudouyuzi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kudouyuzi/32/68780_2.png) [@kudouyuzi](https://meta.discourse.org/u/kudouyuzi)
#### Post date: [16. April 2017 um 21:07 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/6 "2017-04-16T21:07:16Z")

</div>

I have tried on the local server, but still slow to load

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [16. April 2017 um 21:10 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/7 "2017-04-16T21:10:03Z")

</div>

How are you running the local server? And on what OS? If you’re running in development mode there will be a lot of optimisations disabled!

---

<div class="post-metadata">

### Author: ![kudouyuzi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kudouyuzi/32/68780_2.png) [@kudouyuzi](https://meta.discourse.org/u/kudouyuzi)
#### Post date: [16. April 2017 um 21:20 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/8 "2017-04-16T21:20:32Z")

</div>

My server is KVM vps, RAM 4gb free 1.3gb, BW is 100mbpe

[https://meta.discourse.org/t/home-index-taking-to-long-to-load/20026](https://meta.discourse.org/t/home-index-taking-to-long-to-load/20026)

[https://meta.discourse.org/t/my-site-page-load-slow-i-have-no-idea/20947/](https://meta.discourse.org/t/my-site-page-load-slow-i-have-no-idea/20947/)

> [@The initial page load](https://meta.discourse.org/t/the-initial-page-load/17323/):
>
> When you go to a Discourse site for the first time, it can sometimes take about 1 - 3 seconds before the page shows anything but a white background. Call me impatient, but I don’t like that. I like my sites to load almost instantly, and Discourse sure doesn’t load very fast the first time on every Discourse forum I’ve visited. However, when it’s loaded, browsing the forum is pretty quick, so no complaints there. The reason it bothers me so much is because that initial page load is very importan…

[https://meta.discourse.org/t/just-curious-why-emberjs-and-handlebars-libs-are-used-what-do-they-do-so-special-behind-the-scenes/18466/](https://meta.discourse.org/t/just-curious-why-emberjs-and-handlebars-libs-are-used-what-do-they-do-so-special-behind-the-scenes/18466/)

> [@Loading spinner spinning on a blank page](https://meta.discourse.org/t/loading-spinner-spinning-on-a-blank-page/35668/):
>
> Hi Guys I’m from China and found Discourse awesome. A huge thank to the community. Just a quick one,when I click on a topic there’s always a loading spinner spinning on a blank page prior to the content of the topic being rendered. Is it possible to set up Discourse to display the loading spinner on the current page which is a list of topics, in this case, rather than a blank page?There are 2 reasons that I’m raising this, firstly,for instance, it takes around 1 second to load the content of a…

---

<div class="post-metadata">

### Author: ![kudouyuzi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kudouyuzi/32/68780_2.png) [@kudouyuzi](https://meta.discourse.org/u/kudouyuzi)
#### Post date: [16. April 2017 um 21:22 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/9 "2017-04-16T21:22:28Z")

</div>

UB 16.04

Whats the development mode?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [16. April 2017 um 21:24 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/10 "2017-04-16T21:24:18Z")

</div>

**Discourse is a JavaScript application that runs on the client, first load time is never going to be its strong suit.** It is _competitive_ but it will never lead the pack in this area. This trade off is made so subsequent loads are incredibly fast as only minimal JSON is transmitted over the wire for each subsequent action after first load.

If that is a problem for you, I suggest choosing different software.

---

<div class="post-metadata">

### Author: ![kudouyuzi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kudouyuzi/32/68780_2.png) [@kudouyuzi](https://meta.discourse.org/u/kudouyuzi)
#### Post date: [16. April 2017 um 21:28 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/11 "2017-04-16T21:28:41Z")

</div>

I just want a loading page, have a loading page will look better.

---

<div class="post-metadata">

### Author: ![kudouyuzi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kudouyuzi/32/68780_2.png) [@kudouyuzi](https://meta.discourse.org/u/kudouyuzi)
#### Post date: [16. April 2017 um 21:33 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/12 "2017-04-16T21:33:11Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/f/e/fe88b85e975de49783e92f4f460821ff852f802e.jpg)

This is my site test

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [16. April 2017 um 21:38 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/13 "2017-04-16T21:38:17Z")

</div>

Running that same test against this site returns similar results, so there’s probably nothing wrong with your setup. It’s a trade-off, as @codinghorror said. There’s plenty of discussion about this in all of the threads you linked to.

 ![](https://global.discourse-cdn.com/meta/original/3X/7/8/789c36e87779775d57465680cec42fd83ed3d686.png)

---

<div class="post-metadata">

### Author: ![kudouyuzi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kudouyuzi/32/68780_2.png) [@kudouyuzi](https://meta.discourse.org/u/kudouyuzi)
#### Post date: [16. April 2017 um 22:00 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/14 "2017-04-16T22:00:45Z")

</div>

Maybe you are right. Thx

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [17. April 2017 um 22:18 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/15 "2017-04-17T22:18:37Z")

</div>

Already discussed here:

> [@Show a loader starting page for slow connections?](https://meta.discourse.org/t/show-a-loader-starting-page-for-slow-connections/42981/):
>
> I am on a very slow internet connection in a rural area now. And when initially loading my discourse instance, it takes like 2-3 minutes with a blank screen and suddenly everything appears. So i guess it is loading all the assests and the app in the background in that time. It would be nice to see a fast loading static html page with a loading… until the actual loading of the app has been completed in the background for such slow connections i feel. Related:

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [17. April 2017 um 22:18 UTC](https://meta.discourse.org/t/how-to-add-a-loading-page-some-like-gmail/61067/16 "2017-04-17T22:18:45Z")

</div>


