# SOLVED: Canvas empty error with Rocket Loader™ JS - Cloudflare ( no problem with litespeed )

**URL:** <https://forum.bricksbuilder.io/t/solved-canvas-empty-error-with-rocket-loader-js-cloudflare-no-problem-with-litespeed/4294>\
**Category:** Bugs\
**Tags:** feedback, how-to, caching\
**Created:** [July 17, 2022, 11:01pm UTC](https://forum.bricksbuilder.io/t/solved-canvas-empty-error-with-rocket-loader-js-cloudflare-no-problem-with-litespeed/4294 "2022-07-17T23:01:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![erickesgm](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/erickesgm/32/3854_2.png) [@erickesgm](https://forum.bricksbuilder.io/u/erickesgm)\
**Post date:** [July 17, 2022, 11:01pm UTC](https://forum.bricksbuilder.io/t/solved-canvas-empty-error-with-rocket-loader-js-cloudflare-no-problem-with-litespeed/4294/1 "2022-07-17T23:01:52Z")

</div>

**Bricks Version** : 1.4.0.2  
**Browser** : Edge Chromium lastest version  
**OS** : Windows.  
**URL** : (a link to a page that illustrates the issue would be really helpful)

The build and preview screen are blank with no content visible.  
I have a VPS with cyberpanel (Open litespeed), so when installing wordpress, it also installs the litespeed cache plugin.

Everything works fine when I don’t do optimization with litespeed cache settings, but after I’m done configuring the litespeed plugin, bricks just shows blank screen.

I already disabled all the installed plugins, but it doesn’t show any change, I already tried changing the theme to Twenty Twenty-Two and back to Bricks Builder, but it still doesn’t show any change.

I cleared the litespeed cache, tried to set the default settings, tried to configure the CSS and JS field so that it does not optimize the Bricks CSS and JS files, but nothing.

The only problem is that I can’t see anything, I can edit, I can see the page normally as a visitor, I can configure the elements, but I can’t see the content when building the home page, the header, or using the builder previewer. bricks.

I also found one thing, is that if I create a new page, and edit it with Bricks, I can see the content, but when I exit the constructor, and re-enter, the error appears.  
This time I had all plugins disabled.

In Elementor I don’t have this problem, neither with the other plugins, but with bricks builder, help pls. ☹

All images:  
[https://imgur.com/gallery/5l6zcGX](https://imgur.com/gallery/5l6zcGX)

---

<div class="post-metadata">

**Author:** ![erickesgm](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/erickesgm/32/3854_2.png) [@erickesgm](https://forum.bricksbuilder.io/u/erickesgm)\
**Post date:** [July 18, 2022, 2:00pm UTC](https://forum.bricksbuilder.io/t/solved-canvas-empty-error-with-rocket-loader-js-cloudflare-no-problem-with-litespeed/4294/2 "2022-07-18T14:00:01Z")

</div>

I have the same errors as this post:  
[Canvas is completely empty, but the structure remains - Bugs - Bricks Community Forum (bricksbuilder.io)](https://forum.bricksbuilder.io/t/canvas-is-completely-empty-but-the-structure-remains/4289/5)

It only happens when I start optimizing with the plugin, I don’t know if the same thing happens with wp rocket, or asset clean up.

I was able to fix it temporarily, there are times when the options to add an element appear (like when you create a template and it is empty), but if I change something in the structure it seems, suddenly the canvas loads showing the content, but it only works when it shows to add an element, if it appears totally empty it doesn’t work.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [July 18, 2022, 2:24pm UTC](https://forum.bricksbuilder.io/t/solved-canvas-empty-error-with-rocket-loader-js-cloudflare-no-problem-with-litespeed/4294/3 "2022-07-18T14:24:46Z")

</div>

Hi Erick,  
Welcome to the forum and thanks for reaching out!

Would you be so kind as to send temporary login credentials and a link to this thread to [help@bricksbuilder.io](mailto:help@bricksbuilder.io) using the email address you used during the purchase?

Best regards,  
timmse

---

<div class="post-metadata">

**Author:** ![erickesgm](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/erickesgm/32/3854_2.png) [@erickesgm](https://forum.bricksbuilder.io/u/erickesgm)\
**Post date:** [July 18, 2022, 2:44pm UTC](https://forum.bricksbuilder.io/t/solved-canvas-empty-error-with-rocket-loader-js-cloudflare-no-problem-with-litespeed/4294/4 "2022-07-18T14:44:39Z")

</div>

Fixed!!!, the problem was with Cloudflare, more specifically with the setting of Rocket Loader™.

I disabled it, and Bricks Builder worked again, the canvas works perfect now.

Litespeed, works perfect with bricks builder, both CSS and JS are minified, no problem, in Cloudflare in Speed-\>Optimization the only disabled setting is Rocket Loader™, so in cloudflare we can also minify HTML, CSS, and JS , enable Early Hints, and enable Brotli with no issues.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [July 18, 2022, 2:58pm UTC](https://forum.bricksbuilder.io/t/solved-canvas-empty-error-with-rocket-loader-js-cloudflare-no-problem-with-litespeed/4294/5 "2022-07-18T14:58:36Z")

</div>

Hey, thanks for letting us know!  
Yes, the problem is known - we haven’t been able to figure out exactly what it is yet, but are working on it.

---

<div class="post-metadata">

**Author:** ![Storm](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/s/e0b2c6/32.png) [@Storm](https://forum.bricksbuilder.io/u/Storm)\
**Post date:** [September 12, 2022, 1:11am UTC](https://forum.bricksbuilder.io/t/solved-canvas-empty-error-with-rocket-loader-js-cloudflare-no-problem-with-litespeed/4294/6 "2022-09-12T01:11:53Z")

</div>

THANK YOU! I’ve been dealing with the blank canvas issue for 3 days now with no resolution. I didn’t even think it could be related to Cloudflare!!

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [September 12, 2022, 10:38am UTC](https://forum.bricksbuilder.io/t/solved-canvas-empty-error-with-rocket-loader-js-cloudflare-no-problem-with-litespeed/4294/7 "2022-09-12T10:38:54Z")

</div>

We recently added a “known issues” article to the Academy, which we will add to as issues persist.

> **[Known issues](https://academy.bricksbuilder.io/article/known-issues/)**
>
> When I open the builder I don’t see the elements on the canvas If you open the builder and you don’t see the elements in the canvas but they are shown in the structure panel, and if you are using Cloudflare, then this is a known problem caused by a...
