-
AuthorPosts
-
August 2, 2015 at 4:14 pm #347878
Hey there guys, been a while so hope all is well.
I’ve moved my site out of multisite, and configured a new server with HHVM and all sorts of cool stuff. I’ve moved my site to CloudFlare as a CDN, and things look and work super fast. I’m very satisfied with that to say the least.
However – That result is without Rocket Loader Active. When I had it active… I HAD THIS
I want that even more now… but I cannot use it. Activating Rocket Loader with CloudFlare messes up the “Above the Masthead” slider. I believe this is because this slider is javascript, loading in the header, which Rocket Loader disables and compresses and all sorts of stuff to make things fast. – If you guys would parse this javascript already in the theme, that would be super cool… but even then, I don’t know how that works with Rocket Loader anyways.
Long story short – I want to use Rocket Loader, but EXEMPT it from the home page. They have instructions here on how to do that – but I don’t know where to add this. I imagine changing “=true” to “=false” would make RL ignore the page I put that on.
I’m using a child theme already anyways. Where do I put it? Thanks for your time!
– Charlie
August 2, 2015 at 9:07 pm #348007Hi Charlie,
Thanks for posting in.
Masthead is not made from javascript, but the slider is. Our template is simply calling putSlider() to render the slider. Rev. slider is the one responsible for javascript and we don’t have control over that. You might need to contact them.
The other javascript loaded in masthead is the video background, but it’s not connected to slider. It simply adds a background at the back of slider’s wrapper.
All I could do for now is check it and forward the result to our developer for closer looks.
Thanks.
August 2, 2015 at 9:10 pm #348009I’d love to have you look closer at it – but that would mean I’d need a non-functional welcome slider on my home page…. so naturally, I’d want to be sure whomever is going to be looking at it, isn’t waiting hours after I’ve turned it on to do so.
Is there an efficient way to do this, without welcoming hundreds of visitors with a black screen first thing they see for a while? If it’s for like 20 minutes or something… whatever. But I mean, response times in a forum… well… that’s too long to have it looking that way.
August 2, 2015 at 10:53 pm #348070Perhaps just point me to the script that’s being used here. The revolution slider script. Where is it located, and what’s step I need to do to add the data-cfasync=”false” attribute to the script?
https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-my-script-s-in-Automatic-Mode-Because with this thing on… I kick ass. I have, pretty much, the Integrity 1 demo installed on my site. This is how it compares to your own demo:
August 3, 2015 at 12:32 am #348127Hi there,
Should be here :
/wp-content/plugins/revslider/revslider_front.php
/wp-content/plugins/revslider/inc_php/revslider_output.class.php
/wp-content/plugins/revslider/inc_php/extension.class.phpThanks.
August 3, 2015 at 12:06 pm #348706Is it possible to have that home page welcome without using Revolution Slider? It’s a plugin I’d rather discontinue using anyways. Sliders are fairly ineffective… and I can easily incorporate that text slide-in effect and stuff within the video file in after effects…
August 3, 2015 at 2:29 pm #348823Hi again,
To remove the revolution slider from the homepage, you can deactivate the slider via Slider Settings.
Hope this helps!
August 3, 2015 at 3:24 pm #348866No no no… I think you’re missing the critical detail of the question. I want the full-page video there. What I don’t want, is Revolution slider. Full screen video as is currently there, without rev slider. If I remove the revolution slider plugin – The ability to do this seems to go away.
August 3, 2015 at 8:33 pm #349103Sorry for the confusion. That is not currently possible as the Fullscreen option is in Revolution Slider settings. Replicating that feature would require custom development.
Thanks.
August 3, 2015 at 8:34 pm #349104Thanks then. I’ll look to block the script for it for Rocket Loader….
If I figure this process out, I’ll post my answer to it too. 🙂
Thanks for your time,
– Charlie
August 3, 2015 at 10:19 pm #349174You are most welcome 🙂 .
August 5, 2015 at 8:52 pm #351389Yeah, it’s more than just the slider. Text on the page doesn’t render properly… pretty much none of the javascript does with this theme.
I have 8 sites utilizing Rocket Loader… none with any issues. X completely busts with this. Ugh. Disappointing.
Rocket Loader brings me to a 99% pagespeed score… Do you know how hard that is?Basically, it breaks all javascript. Every fade effect, etc. The whole page is broken if I activate Rocket Loader.
I’m trying page rules to exempt my home page. I think it’ll work… but I don’t know.
August 5, 2015 at 9:41 pm #351427Okay… I think I’ve got things set up. Pages rules only work if you type them PRECISELY as you want them. In my case, I typed my home URL http://pryormedia.net
However, that typically blocks everything with the same structure. My entire site has that structure at the beginning… so I have a second page rule, telling it to load with Rocket Loader: http://pryormedia.net/*
Now the home page isn’t loaded with Rocket Loader – HOWEVER, all pages that have something AFTER the home page url (all the rest of the pages) are now loaded with Rocket Loader…. and OH MAN ARE THEY EVER!
To help with workflow even more, I’ve added a third rule to disable rocket loader in admin areas, by adding /wp-admin* to it.
Anyways, hope this helps whomever is looking for this too. Have a great day guys and gals… and if anybody wants awesome hosting like this, ask! 🙂
— Charlie
August 5, 2015 at 10:54 pm #351490Thanks for sharing Charlie 🙂 , yes, probably just need a list of exception.
August 17, 2015 at 1:22 pm #361395Update: This actually didn’t work. It doesn’t mess up with just Revolution Slider. It’s lots of javascript within the entire theme. All fade effects, text resizing, and the blog and portfolio templates on the Integrity stack. Even when I exempt the home page… I would have to exempt every page that has a fade effect or a responsive text class applied to text on the page. That’s impossible.
Therefore, javascript in your theme isn’t compatible with Rocket Loader (which is a beta feature in and of itself). – It appears to work fine with Ethos for a client of mine though, which is odd to me, but okay then.
-
AuthorPosts