# Issue with Cloudflare CDN and Discourse Air theme

**URL:** https://meta.discourse.org/t/issue-with-cloudflare-cdn-and-discourse-air-theme/322717
**Category:** Support
**Created:** [August 21, 2024, 1:54pm UTC](https://meta.discourse.org/t/issue-with-cloudflare-cdn-and-discourse-air-theme/322717 "2024-08-21T13:54:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Peter1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/peter1/32/442763_2.png) [@Peter1](https://meta.discourse.org/u/Peter1)
#### Post date: [August 21, 2024, 1:54pm UTC](https://meta.discourse.org/t/issue-with-cloudflare-cdn-and-discourse-air-theme/322717/1 "2024-08-21T13:54:10Z")

</div>

Hello,  
I’m trying to set up Cloudflare CDN on my Discourse instance, and I’ve added the `- "templates/cloudflare.template.yml"` line to my `app.yml` file. I’ve also disabled Rocket Loader. While I can access the Discourse homepage without issues, I’m encountering a problem when trying to access category pages - they appear blank.

I’m using the Discourse Air theme. Has anyone else experienced this issue or have any suggestions on how to resolve it? I’d greatly appreciate any help or guidance. Thank you!

---

<div class="post-metadata">

### Author: ![David\_Ghost](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@David\_Ghost](https://meta.discourse.org/u/David_Ghost)
#### Post date: [August 21, 2024, 2:19pm UTC](https://meta.discourse.org/t/issue-with-cloudflare-cdn-and-discourse-air-theme/322717/2 "2024-08-21T14:19:28Z")

</div>

You also need to disable “Auto minify” for JS, CSS and html, and after that, clear the cache.

> [@Unexpected identifier \`#...\` SyntaxError](https://meta.discourse.org/t/unexpected-identifier-syntaxerror/307411/8):
>
> Also please make sure you have “Auto Minify” disabled. It looks like Cloudflare have deprecated this feature because of incompatibility with recent javascript features: Looks like you will need to purge your cache after doing that.

---

<div class="post-metadata">

### Author: ![Peter1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/peter1/32/442763_2.png) [@Peter1](https://meta.discourse.org/u/Peter1)
#### Post date: [August 21, 2024, 3:16pm UTC](https://meta.discourse.org/t/issue-with-cloudflare-cdn-and-discourse-air-theme/322717/3 "2024-08-21T15:16:57Z")

</div>

Thank you, I forgot to purge cache

---

<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: [September 20, 2024, 3:17pm UTC](https://meta.discourse.org/t/issue-with-cloudflare-cdn-and-discourse-air-theme/322717/4 "2024-09-20T15:17:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
