Mobile app version of vmapp.org
Login or Join
Gonzalez347

: Site failing randomly - could it be Cloudflare or something weird in the JS? I've been working on a simple site that uses javascript to fade through some fullscreen background images as well

@Gonzalez347

Posted in: #Html5 #Javascript #Problem

I've been working on a simple site that uses javascript to fade through some fullscreen background images as well as some other simple animations.

I've tested the site on Chrome, Safari, FF and Opera on OSX, IE8+ on Win7 and Chrome & FF on Ubuntu and everything looks as I'd expect it to. However, I've had reports of the site failing to load (stops at the stage where the background fades up) on Safari and Chrome on OSX and Win. I can't replicate this on any setup so I'm finding it impossible to troubleshoot. Google's instant preview shows the site fine as does most of the options at browsershots.org so I'm really scratching my head.

I'm running the site's traffic through Cloudflare and I'm wondering whether anyone can see (or knows from other sites) why Cloudflare might be mangling the JS or causing a problem somehow (I don't get any errors in the JS error console).
Of course, if you can replicate the problem on your machine and can suggest an area to look at that would be amazing but I'm hoping that, like me, you don't see any problem with the site!

Here's the site: www.bighornrevelstoke.com
Thanks,
James

UPDATE: I am very grateful to those of you who have taken the time to made suggestions below but because of my poor 'n00b' reputation I'm unable to upvote any of the suggestions to show it. Sorry about that.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Gonzalez347

3 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

You could try using Adobe Browser Lab to replicate the problem. If you still can't figure out the problem (You should be able to find out which browsers on which OS's are the problem), then answer back here with your results.

10% popularity Vote Up Vote Down


 

@Rivera981

I don't think this is a minification isue. I believe that this is likely a Rocket Loader issue on the site, so turning this off should fix it (Rocket Loader can impact some JavaScript and jQuery).

10% popularity Vote Up Vote Down


 

@Murray155

Make sure you don't have minification turned on in Cloudflare as this can cause all sorts of problems. In addition, I do believe there was at least one other setting in there that could cause js errors however as I deleted my account a few weeks ago due to similar issues I can't confirm this...

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme