Builders occasionally load with an empty workspace

As the title says. Doesn’t happen all the time.

It looks like this:

Browser console:

Thanks. I’ve corrected that type error, but I suspect there’s something else going on. I added better error reporting in that code path so if it keeps happening we will have more information.

1 Like

After disabling some file optimization tweaks this doesn’t seem to happen anymore. It was most likely due to some JS moved to the footer and/or being deferred.

Can give you an advice. Do not use any plugins to “speed up” sites. I’m using cloudflare CDN for free with free SSL and it works great. It have it’s own technology to do all these things like CSS/JS optimisations. And it really works great. You just have to try it.

Thanks @Georgich

I’m using Hummingbird and it gives you full control over which files you want optimized, and what optimizations to apply to each file. Moving scripts to the footer and deferring them is a guaranteed way to break things and it must be done with care on a file by file basis. I’ve used this plugin for years and it works great.

In RC2 I added asset fingerprinting for all assets that are in the cornerstone path. This means with each update, the javascript files will have a brand new file name instead of relying on query strings for cache busting. This should naturally alleviate some issues that come from script minification/optimization plugins.

Hey @alexander

After much more fiddling around (for way too long lol), I’ve figured out that the file optimizations have nothing to do with it.

You can try the following to see if you can replicate it: edit a page, save, open another page and the workspace should be empty, even if there’s content on the page.

I initially suspected caching, file optimizations or the CDN I’m using and tried lots of things there, but it kept occuring even with all plugins disabled, all caches cleared, etc. So yeah…

Nobody else has reported this so who knows. I may have once again just done something stupid on my end xD

That’s it! Thanks. Looks like it’s only the Layout pane, but I have something to go off of now.

1 Like

Awesome :thumbsup:

Update: Fixed.

1 Like

So far so good :slight_smile:

great! :thumbsup: