# Help with white screen when using any cdn

**URL:** https://meta.discourse.org/t/help-with-white-screen-when-using-any-cdn/123455
**Category:** Support
**Created:** [July 19, 2019, 6:30pm UTC](https://meta.discourse.org/t/help-with-white-screen-when-using-any-cdn/123455 "2019-07-19T18:30:19Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![HelloItsGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helloitsgav/32/150028_2.png) [@HelloItsGav](https://meta.discourse.org/u/HelloItsGav)
#### Post date: [July 19, 2019, 6:30pm UTC](https://meta.discourse.org/t/help-with-white-screen-when-using-any-cdn/123455/1 "2019-07-19T18:30:19Z")

</div>

hi, I have added my site to stackpath and added the ‘edge address’ to app.yml and rebuilt, now all of my static files direct to stackpath as expected. However when i go to my domain now I only see a white screen. i thought this might be a stackpath issue so I also tried these steps with bunnycdn (which has worked fine previously) and still I now only see a white screen.

my stackpath edge address however `xxxxxx.stackpathcdn.com` loads my site completely fine

does anyone know what this issue this? thanks

---

<div class="post-metadata">

### Author: ![HelloItsGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helloitsgav/32/150028_2.png) [@HelloItsGav](https://meta.discourse.org/u/HelloItsGav)
#### Post date: [July 19, 2019, 6:38pm UTC](https://meta.discourse.org/t/help-with-white-screen-when-using-any-cdn/123455/2 "2019-07-19T18:38:27Z")

</div>

update: i checked console which is full of ‘invalid character’ messages, when i open the corresponding js files it is full of: ‘¾ØýÈOÝ´þäùKe˜žXÞ¬¬½õ’

also when i change the ‘host header’ to ‘dynamic’ the site will load at the original domain however this causes all the static files to redirect which causes big delays.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [July 20, 2019, 5:40pm UTC](https://meta.discourse.org/t/help-with-white-screen-when-using-any-cdn/123455/4 "2019-07-20T17:40:30Z")

</div>

It’s the weekend so you may need to be patient for better help. But it looks like the problem involves mis-matched character encoding. I tend to have _everything_ in UTF-8 — browsers, text editors, meta tags, database collation, etc. _everthing_

What language(s) / character encoding(s) are you working with?

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [July 20, 2019, 5:45pm UTC](https://meta.discourse.org/t/help-with-white-screen-when-using-any-cdn/123455/5 "2019-07-20T17:45:11Z")

</div>

> [@Mittineague](#):
>
> What language(s) / character encoding(s) are you working with?

Glaswegian. (That’ll be it, likely.)

---

<div class="post-metadata">

### Author: ![HelloItsGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helloitsgav/32/150028_2.png) [@HelloItsGav](https://meta.discourse.org/u/HelloItsGav)
#### Post date: [July 20, 2019, 6:01pm UTC](https://meta.discourse.org/t/help-with-white-screen-when-using-any-cdn/123455/6 "2019-07-20T18:01:37Z")

</div>

Not entirely sure i understand but i haven’t changed any of the default discourse settings in that regard..

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [July 20, 2019, 6:49pm UTC](https://meta.discourse.org/t/help-with-white-screen-when-using-any-cdn/123455/7 "2019-07-20T18:49:30Z")

</div>

> [@HelloItsGav](#):
>
> update: i checked console which is full of ‘invalid character’ messages, when i open the corresponding js files it is full of: ‘¾ØýÈOÝ´þäùKe˜žXÞ¬¬½õ’

This sounds like you’re getting compressed assets but the browser is treating them as uncompressed and trying to interpret directly.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 13, 2023, 2:52pm UTC](https://meta.discourse.org/t/help-with-white-screen-when-using-any-cdn/123455/8 "2023-01-13T14:52:16Z")

</div>



---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [January 13, 2023, 7:37pm UTC](https://meta.discourse.org/t/help-with-white-screen-when-using-any-cdn/123455/9 "2023-01-13T19:37:49Z")

</div>


