# Hi, regarding official resource download acceleration

**URL:** https://meta.discourse.org/t/topic/410639
**Category:** Self-hosting
**Created:** [August 21, 2026, 4:18pm UTC](https://meta.discourse.org/t/topic/410639 "2026-08-21T16:18:38Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![danguaitu](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@danguaitu](https://meta.discourse.org/u/danguaitu)
#### Post date: [August 21, 2026, 4:18pm UTC](https://meta.discourse.org/t/topic/410639/1 "2026-08-21T16:18:38Z")

</div>

Hi everyone, how can I speed up the download of resources under this domain ([https://get.discourse.org/discourse-assets/](https://get.discourse.org/discourse-assets/))? When installing on the Chinese mainland, the download speed is almost nonexistent, causing the installation to be extremely slow. I hope someone can share an effective tutorial on how to accelerate this.

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/a/9/8a9ab6cdb293f388c46b122bee2dc485883c0d9d.png)

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [August 21, 2026, 4:31pm UTC](https://meta.discourse.org/t/topic/410639/2 "2026-08-21T16:31:13Z")

</div>

Hi,

It’s unlikely that Discourse’s website is the issue here. I’m not sure what regions it’s active in but I would be more inclined to believe that this is your hosting provider or ISP slowing the download down instead. I would see if other services such as apt/dnf are equally as slow before being sure it’s discourse.

---

<div class="post-metadata">

### Author: ![danguaitu](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@danguaitu](https://meta.discourse.org/u/danguaitu)
#### Post date: [August 21, 2026, 4:46pm UTC](https://meta.discourse.org/t/topic/410639/3 "2026-08-21T16:46:17Z")

</div>

In mainland China, people typically use domestic mirrors from Alibaba Cloud, Tencent Cloud, or universities. Pulling packages from the default sources is also very slow. As you mentioned, on domestic broadband connections, `apt`/`dnf` often speeds of just a few dozen KB/s, with timeouts and disconnections being common. During peak hours, `apt update` can hang for a long time. Without changing the repository sources, the experience in China is poor.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [August 21, 2026, 5:01pm UTC](https://meta.discourse.org/t/topic/410639/4 "2026-08-21T17:01:55Z")

</div>

> **[GitHub - discourse/discourse-assets: Contains releases of pre-built Discourse assets](https://github.com/discourse/discourse-assets)**
>
> Contains releases of pre-built Discourse assets

I’m curious how this works - there is only a README … and some tags 🤔

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [August 21, 2026, 5:03pm UTC](https://meta.discourse.org/t/topic/410639/5 "2026-08-21T17:03:16Z")

</div>

> [@danguaitu](#):
>
> Pulling packages from the default sources is also very slow. As you mentioned, on domestic broadband connections, `apt`/`dnf` often speeds of just a few dozen KB/s, with timeouts and disconnections being common.

I would figure this is why Discourse is having problems then. The most you can do is use available mirrors in the `web.china.yml` hook in `templates` of your app.yml file but I don’t believe one is provided for [get.discourse.org](http://get.discourse.org) at the moment.

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [August 21, 2026, 5:03pm UTC](https://meta.discourse.org/t/topic/410639/6 "2026-08-21T17:03:57Z")

</div>

Seems like it’s pulling from the releases section:

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/c/8/cc81fa30269fb7b9103dc8c32f0b8a940d4e5c8f.png)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [August 21, 2026, 5:05pm UTC](https://meta.discourse.org/t/topic/410639/7 "2026-08-21T17:05:28Z")

</div>

ah yes, thanks! that indeed explains it 🤦‍♂️

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [August 21, 2026, 5:22pm UTC](https://meta.discourse.org/t/topic/410639/8 "2026-08-21T17:22:09Z")

</div>

It’s for this process: [https://meta.discourse.org/t/introducing-pre-compiled-js-assets-for-self-hosters/](https://meta.discourse.org/t/introducing-pre-compiled-js-assets-for-self-hosters/)

---

<div class="post-metadata">

### Author: ![danguaitu](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@danguaitu](https://meta.discourse.org/u/danguaitu)
#### Post date: [August 22, 2026, 5:23am UTC](https://meta.discourse.org/t/topic/410639/9 "2026-08-22T05:23:06Z")

</div>

Thanks for your answers. If I want to set up a mirror site within mainland China to speed things up, what are my options?

---

<div class="post-metadata">

### Author: ![sk-or-v1-contents](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sk-or-v1-contents/32/547175_2.png) [@sk-or-v1-contents](https://meta.discourse.org/u/sk-or-v1-contents)
#### Post date: [August 23, 2026, 2:19am UTC](https://meta.discourse.org/t/topic/410639/10 "2026-08-23T02:19:49Z")

</div>

I think this might be helpful. It contains GitHub proxy/mirror sites. (I’m not familiar with Discourse setup and don’t know how to plug them into the setup process)

> [@Selfhost Discourse in Mainland China Under the GFW](https://meta.discourse.org/t/selfhost-discourse-in-mainland-china-under-the-gfw/347038/4):
>
> My issue was resolved by adding the following line to my app.yaml file: - "templates/web.china.template.yml" If you’re facing a similar issue, you might find this article helpful: [Discourse Installation Guide](https://tom.moe/t/discourse/198).

Edit: Only the ddlc.top mirror seems to be functional

Edit 2: Mirror links were deleted, the working one is [https://gh.ddlc.top/](https://gh.ddlc.top/)

---

<div class="post-metadata">

### Author: ![danguaitu](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@danguaitu](https://meta.discourse.org/u/danguaitu)
#### Post date: [August 24, 2026, 5:14am UTC](https://meta.discourse.org/t/topic/410639/11 "2026-08-24T05:14:55Z")

</div>

Thank you for your advice. My site is now set up, though the installation process was a bit slow.

---

<div class="post-metadata">

### Author: ![Editor0732](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/editor0732/32/492698_2.png) [@Editor0732](https://meta.discourse.org/u/Editor0732)
#### Post date: [August 25, 2026, 1:43pm UTC](https://meta.discourse.org/t/topic/410639/12 "2026-08-25T13:43:15Z")

</div>

> **[Discourse 现在升级真费劲](https://www.isharkfly.com/t/discourse/10381/7)**
>
> 国内加速方案，无需vpn，带宽拉满 web.china.template.yml hooks: before\_code: - exec: cmd: - su discourse -c 'git config --global url."https://ghfast.top/https://github.com/".insteadOf "https://github.com/"' after\_code: - exec: ...

This web.china.template.yml can speed up discourse-assets
