Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Frank Goossens

    (@futtta)

    this is normal behavior; AO can’t touch external (as in hosted on a 3rd party server) JS or CSS @soonertuff.

    hope this clarifies,
    frank

    Thread Starter soonertuff

    (@soonertuff)

    I thought there was a tweek or something? My mobile score seems awfully low at a 79 because of this. Could I be missing something else that’s slowing my speed down. Thought I could at least get into the 80’s.

    Plugin Author Frank Goossens

    (@futtta)

    I thought there was a tweek or something?

    no tweak for that in autoptimize, no.

    My mobile score seems awfully low at a 79 because of this. Could I be missing something else that’s slowing my speed down. Thought I could at least get into the 80’s.

    well, what other recommendations does GPSI show? you should look at the details there, those are the real nuggets, the total score is just there for gamification purpose πŸ˜‰

    Thread Starter soonertuff

    (@soonertuff)

    I’ve seen people say that before.about the score. There’s nothing else. Plus on other websites I’m all A’s. Thanks for your plugin!

    Plugin Author Frank Goossens

    (@futtta)

    ok, had a quick look and -at least on your HP- I can’t see jquery-ui.css being put to any use a all. probably be a stupid plugin which inserts this as dependancy even on pages where it’s not needed. you could use the “plugin organizer”-plugin to try to fix that.

    Thread Starter soonertuff

    (@soonertuff)

    I went plugin by plugin. It’s my WooCommerce. Man!

    Thread Starter soonertuff

    (@soonertuff)

    Oh by the way, the “plugin organizer” did nothing for or against, in this situation.

    Plugin Author Frank Goossens

    (@futtta)

    hmmm, maybe ask around the woocommerce community why jquery-ui.min.css is added and if/ how it can be safely removed (dequeued)?

    alternatively (but somewhat … brute-force like) you can try removing it using this code snippet that hooks into AO’s API;

    add_filter('autoptimize_filter_css_removables','remove_jqueryui_css');
    function remove_jqueryui_css($in) {
      return $in.",themes/smoothness/jquery-ui.css";
    }

    additional reading; https://gregrickaby.com/2013/05/remove-woocommerce-styles-and-scripts/

    Thread Starter soonertuff

    (@soonertuff)

    I’m definitely looking around for solutions. Would the code you have there allow woocommerce to work on my cart, checkout and shop pages? Also, I know you’re very busy so thanks for all your help!

    Plugin Author Frank Goossens

    (@futtta)

    it would (should) only remove the jquery-ui.css, but no guarantees about how well your site will do without it (although it seems pretty useless at first sight) πŸ™‚

    Thread Starter soonertuff

    (@soonertuff)

    I definitely think you’re right and can or should move on to my next project lol. I have another topic for you but I probably should create another thread for that one right?

    Thread Starter soonertuff

    (@soonertuff)

    Looks like my site at mach8.com is still functional and that snippet you gave me got me to 100/100 thanks so much, dayum I’m excited.

    Plugin Author Frank Goossens

    (@futtta)

    great! πŸ™‚

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Autoptimize not render blocking or minifying one CSS’ is closed to new replies.