# Latest update requires cache purge in CloudFlare

**URL:** <https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166>\
**Category:** Self-hosting\
**Created:** [2017年十月31日 20:05 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166 "2017-10-31T20:05:05Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![RyanK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryank/32/297314_2.png) [@RyanK](https://meta.discourse.org/u/RyanK)\
**Post date:** [2017年十月31日 22:06 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/41 "2017-10-31T22:06:17Z")

</div>

I’m going to grab one of the lead engineers when he steps out of his next meeting. He’ll want some example URLs.

Does anyone have any URLs that show the issue still happening? We aren’t seeing it on our instance as far as I can tell.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年十月31日 22:22 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/42 "2017-10-31T22:22:52Z")

</div>

I believe @jomaxro can provide you with more detail than you would ever possibly want, and then some 😉

just kidding I ❤ you Josh

---

<div class="post-metadata">

**Author:** ![RyanK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryank/32/297314_2.png) [@RyanK](https://meta.discourse.org/u/RyanK)\
**Post date:** [2017年十月31日 22:25 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/43 "2017-10-31T22:25:11Z")

</div>

@jomaxro if you want to PM me as much detail as you have I can get that ticket filed ASAP

---

<div class="post-metadata">

**Author:** ![Carlo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlo/32/79036_2.png) [@Carlo](https://meta.discourse.org/u/Carlo)\
**Post date:** [2017年十月31日 22:25 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/44 "2017-10-31T22:25:59Z")

</div>

> [@barreeeiroo](#):
>
> PERMANTENT FIX:
> 
> Login to Cloudflare  
> Go to Speed Section of your domain  
> Uncheck JS, CSS and HTML (yes, the three checkboxes and make sure they have been disabled refreshing the page)  
> Go to Caching Section  
> Click the Arrow next to Purge Individual Files and hit Purge Everything, and then Confirm
> 
> Wait a few seconds and check if your site loads properly

I had the same issue.

Unchecking Js, CSS and HTMl will apply to all pages of your websites.

Instead, I think it is best to add the page rule “Disable performance” ( for your forum only ).  
And then clear your cache.

It worked for me.

---

<div class="post-metadata">

**Author:** ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)\
**Post date:** [2017年十月31日 22:26 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/45 "2017-10-31T22:26:40Z")

</div>

> [@Carlo](#):
>
> I think it is best to add the page rule “Disable performance”

I already tried that but didn’t worked

---

<div class="post-metadata">

**Author:** ![Carlo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlo/32/79036_2.png) [@Carlo](https://meta.discourse.org/u/Carlo)\
**Post date:** [2017年十月31日 22:29 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/46 "2017-10-31T22:29:01Z")

</div>

This is strange, it worked for me.

> **[Forum de Trading en Ligne](https://forum.meilleursbrokers.com/)**
>
> Découvrez le Forum et la Communauté de Trading en Ligne. Discussions variées sur tous les sujets liés au trading!

Have you clear you browser cache too ?

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年十月31日 22:29 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/47 "2017-10-31T22:29:57Z")

</div>

Pretty sure you guys are just seeing bad assets get cached for whatever reason. The cloudflare problem @jomaxro worked on is related to `/admin` routes _only_.

---

<div class="post-metadata">

**Author:** ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)\
**Post date:** [2017年十月31日 22:31 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/48 "2017-10-31T22:31:44Z")

</div>

> [@Carlo](#):
>
> Have you clear you browser cache too ?

Yes 😕  
I’ve tried any option releated with Cache, but only mine worked 😅

---

<div class="post-metadata">

**Author:** ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)\
**Post date:** [2017年十月31日 22:33 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/49 "2017-10-31T22:33:08Z")

</div>

Maybe if this helps 😕

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/5/6572c276e17b25f036a72b9e39c781392d748f65.png)

* * *

_Yeah, I’m testing the Discourse Classic Theme_ 😅

---

<div class="post-metadata">

**Author:** ![Carlo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlo/32/79036_2.png) [@Carlo](https://meta.discourse.org/u/Carlo)\
**Post date:** [2017年十月31日 22:33 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/50 "2017-10-31T22:33:23Z")

</div>

Well, the most important is that it works for you now 👍

---

<div class="post-metadata">

**Author:** ![Carlo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlo/32/79036_2.png) [@Carlo](https://meta.discourse.org/u/Carlo)\
**Post date:** [2017年十月31日 22:35 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/51 "2017-10-31T22:35:02Z")

</div>

I’ve noticed another bug with cloudflare. It seems that their firewall blocks the update process.

So I have to deactivate their WAF rules before upgrading. Not big deal, but thought you should now.

---

<div class="post-metadata">

**Author:** ![RyanK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryank/32/297314_2.png) [@RyanK](https://meta.discourse.org/u/RyanK)\
**Post date:** [2017年十月31日 22:54 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/52 "2017-10-31T22:54:22Z")

</div>

I’m running in and out of meetings and having trouble following. Also, I’m woefully un-technical. Do any of the above responses contain example info the engineers can use to troubleshoot?

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年十月31日 22:54 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/53 "2017-10-31T22:54:42Z")

</div>

Nope you need to wait for @jomaxro to contact you directly. Everything here in this topic can be 100% ignored.

---

<div class="post-metadata">

**Author:** ![RyanK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryank/32/297314_2.png) [@RyanK](https://meta.discourse.org/u/RyanK)\
**Post date:** [2017年十月31日 22:55 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/54 "2017-10-31T22:55:55Z")

</div>

Thanks. Is the issue that @carlo is reporting system wide? I can file that as well.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年十月31日 22:56 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/55 "2017-10-31T22:56:42Z")

</div>

Unlikely. I would 110% wait for @jomaxro. Basically the people in this topic are saying “purge your cache” which is not 🚀 science.

---

<div class="post-metadata">

**Author:** ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)\
**Post date:** [2017年十一月1日 09:35 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/57 "2017-11-01T09:35:06Z")

</div>

@codinghorror Purge Cache only doesn’t work  
I had to disable CSS Minimize too and then Purge Everything

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年十一月1日 09:47 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/58 "2017-11-01T09:47:26Z")

</div>

Ok so you saw issues with the CSS minimize feature then? Can you repro that @jomaxro?

---

<div class="post-metadata">

**Author:** ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)\
**Post date:** [2017年十一月1日 09:49 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/59 "2017-11-01T09:49:42Z")

</div>

Yep  
If I enable it, I get the wrong design again

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2017年十一月1日 10:03 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/60 "2017-11-01T10:03:02Z")

</div>

Maybe CSS stuff cloudflare is doing is breaking due to CSS vars I added for onebox fix.

---

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [2017年十一月1日 12:13 UTC](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166/61 "2017-11-01T12:13:11Z")

</div>

Yes, I was able to reproduce the minification issue, I shared the details with Ryan via PM.

[上一頁](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166.md?page=2)

[下一頁](https://meta.discourse.org/t/latest-update-requires-cache-purge-in-cloudflare/73166.md?page=4)
