# Uploads Subdomain For Cloudflare

**URL:** <https://meta.discourse.org/t/uploads-subdomain-for-cloudflare/270939>\
**Category:** Self-hosting\
**Created:** [July 7, 2023, 9:52pm UTC](https://meta.discourse.org/t/uploads-subdomain-for-cloudflare/270939 "2023-07-07T21:52:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 7, 2023, 10:03pm UTC](https://meta.discourse.org/t/uploads-subdomain-for-cloudflare/270939/2 "2023-07-07T22:03:38Z")

</div>

Hey @dadberg

I don’t think we’ve ever said that Cloudflare breaks Discourse. What _does_ cause problems from time-to-time is their ‘performance optimizations’. Discourse is already well optimized and occasionally these tweaks can cause havoc with an installation.

You don’t need a separate subdomain providing you do the following:

- Install with the orange cloud turned off
- Create a page rule to ‘disable performance’ for the entire subdomain
- Create a page rule to cache your uploads path.

---

_[View the full topic](https://meta.discourse.org/t/uploads-subdomain-for-cloudflare/270939)._
