Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #347878

    CharliePryor
    Participant

    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

    #348007

    Rad
    Moderator

    Hi 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.

    #348009

    CharliePryor
    Participant

    I’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.

    #348070

    CharliePryor
    Participant

    Perhaps 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:

    http://pryormedia.net/photo/Gtmetrix-comparison.jpg

    #348127

    Rad
    Moderator

    Hi 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.php

    Thanks.

    #348706

    CharliePryor
    Participant

    Is 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…

    #348823

    Nabeel A
    Moderator

    Hi again,

    To remove the revolution slider from the homepage, you can deactivate the slider via Slider Settings.

    Hope this helps!

    #348866

    CharliePryor
    Participant

    No 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.

    #349103

    Christian
    Moderator

    Sorry 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.

    #349104

    CharliePryor
    Participant

    Thanks 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

    #349174

    Prasant Rai
    Moderator

    You are most welcome 🙂 .

    #351389

    CharliePryor
    Participant

    Yeah, 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.

    #351427

    CharliePryor
    Participant

    Okay… 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

    #351490

    Rad
    Moderator

    Thanks for sharing Charlie 🙂 , yes, probably just need a list of exception.

    #361395

    CharliePryor
    Participant

    Update: 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.