# Using Discourse with Cloudflare: Best Practices

**URL:** https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405
**Category:** Self-Hosting
**Tags:** how-to, cloudflare
**Created:** [January 30, 2024, 2:56am UTC](https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405 "2024-01-30T02:56:10Z")
**Posts on this page:** 1
**Showing post:** 34

<div class="post-metadata">

### Author: ![sandra.mccollum](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sandra.mccollum/32/441742_2.png) [@sandra.mccollum](https://meta.discourse.org/u/sandra.mccollum)
#### Post date: [April 26, 2026, 7:31pm UTC](https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405/34 "2026-04-26T19:31:10Z")

</div>

I believe I followed the recommendations (I am using free Cloudflare), and I have 2 issues I see so far:

(1) The main login screen is blank on every first access, if I click on the URL and hit Enter again it appears.

(2) embedded pdf’s break so not visible but still download. I tired bypassing pdf file extensions in a cache rule, to no avail.

Pausing Cloudflare does not help. Neither of these is an issue if I am not using Cloudflare other than for DNS (grey)

Possibly any ideas out there what I need to do to best debug or fix these 2 issues?

Thanks in advance.

---

_[View the full topic](https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405)._
