• My blog, with the help of a few plugins, some code, and advice from here, has achieved excellent page load speeds.

    The problem is my landing page. It is doing all sorts of weird things since I made the changes. It is a responsive design from Inbound Now named Acacia. I like it, but not when it is doing all this crazy stuff.

    Could the JS and CSS minification, compression, parsing, and all the other stuff be messing with the way my LP works?
    If it is, is there a way to block all the speed modification stuff from working on my LP.

    Effected LP:
    https://ragingalcoholic.com/go/get-addiction-treatment-now/

    Copy that is not effected (at least not yet):
    https://ragingalcoholic.com/go/copy-of-get-addiction-treatment-now/

    Neither LP is complete as yet. I still need another segment at the top and some other stuff (changed headinging, skinnier segments,etc)

    One other factor that may or may not mean anything:
    The responsiveness is great, but I get most of my traffic from desktop computers. Losing it would only hurt a little.

    Also, if it is the speed modifications effecting it and they cannot be disabled on that page, is it possible to create the same page in html or something else. No by me, but by someone who knows what they are doing.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Through pingdom you top link was the fastest. Auto optimize is not working correctly in both links.

    How many hits do you get? Everyone want to use a cache but that just adds not needed functions unless you get hundreds of hits and/or serve up a lot of graphics. You can go too far in trying to speed up a site. Look at the pingdom information. They give you a grade so you can figure out where to make changes.

    well, as far as autoptimize is concerned you can disable optimization for any URL, using code like this one;

    add_filter('autoptimize_filter_noptimize','ralcoholic_noptimize',10,0);
    function ralcoholic_noptimize() {
    	if (strpos($_SERVER['REQUEST_URI'],'get-addiction-treatment-now/')!==false) {
    		return true;
    	} else {
    		return false;
    	}
    }

    where 'get-addiction-treatment-now/' is the page identifier (part of the path/ URL) which you can change to your liking.

    let me know if you need more info! ??

    frank (ao dev)

    Thread Starter lucabrasi40

    (@lucabrasi40)

    all of my LP themes will be registered in the sub directory “go”

    is there anyway to disable it for anything in that subdirectory.

    That way I won’t have to remember to add a slug each time a make a variation of my landing page.

    Your plugin rocks. I think my homepage has a GT Metrix score of pagespeed 97 and YSlow of 95.
    Vast improvement over my old caching plugin

    sure, simply add /go/ to the comma-separated list of JS optimization exclusions.

    frank

    Thread Starter lucabrasi40

    (@lucabrasi40)

    I don’t understand.
    Where the ‘get-addiction-treatment-now/ is should I just add a comma and /go/

    like this

    ‘get-addiction-treatment-now/,/go/

    Just so you know, I am excluding it from an abundance of caution. I have no proof that it is Autoptimize that is the problem. I am sure you know better than I that in WP it could be a myriad of other things. I just want to be clear to anyone researching the plugin that there is no known problem. Also, that my blog speeds are super fast now that I use it.

    ah, I misunderstood, thought you had a plugin directory you wanted to exclude from (js) optimization ??

    so to make is as simple as possible, this code will exclude all of your landing pages where the URL contains /go/;

    add_filter('autoptimize_filter_noptimize','ralcoholic_noptimize',10,0);
    function ralcoholic_noptimize() {
    	if (strpos($_SERVER['REQUEST_URI'],'/go/')!==false) {
    		return true;
    	} else {
    		return false;
    	}
    }

    frank

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Override/disable all plugin functions on a particular page?’ is closed to new replies.