Support » Plugin: Autoptimize » Performance: 38/100 – how to improve?

Viewing 15 replies - 16 through 30 (of 32 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, let me know if one day you want to revisit.

    stay safe & have a nice Sunday,
    frank

    Thread Starter acqua

    (@acqua)

    Well I need some help 🙂
    Happy easter

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    What in the FAQ is not clear, I’ll be happy to try to explain 🙂

    Thread Starter acqua

    (@acqua)

    I am just afraid to put the code generates with one of the site in the FAQ

    Afraid it could break my site

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Afraid it could break my site

    in that case remove it again, purge any page cache you might have and things are back to normal 🙂

    Thread Starter acqua

    (@acqua)

    Ok I have generated the css

    https://prnt.sc/ry9ctz

    now what to do with the second part?
    The one in <script> … </script>

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    re. above the fold CSS; have you added it? is inline & defer active?

    re. “the one in script”; not sure what you mean, can you clarify?

    Thread Starter acqua

    (@acqua)

    https://prnt.sc/ryajz7

    I copied and pasted the first part (Critical Path CSS)

    But unsure what to do with:

    Load combined CSS file after page load

    <script>var cb = function() {
    var l = document.createElement('link'); l.rel = 'stylesheet';
    l.href = 'PATH_TO_COMBINED_CSS_FILE';
    var h = document.getElementsByTagName('head')[0]; h.parentNode.insertBefore(l, h);
    };
    var raf = requestAnimationFrame || mozRequestAnimationFrame ||
    webkitRequestAnimationFrame || msRequestAnimationFrame;
    if (raf) raf(cb);
    else window.addEventListener('load', cb);</script>

    please clarify

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    You don’t need to bother with that, just tick “inline & defer CSS” and paste the generated CSS in the “above the fold CSS”-field and Autoptimize will do the rest.

    Thread Starter acqua

    (@acqua)

    Ok, performance went from 18 to 42 after this.
    However if I load https://www.backdoorpodcast.com/ something weird happens, like for 2 seconds or so I can see the menu link in vertical, then they adjust into the normal.

    But every time you load the page you get this css loading adjustment which does not look nice

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    in that case the generated “above the fold CSS” is not sufficient, try generating it elsewhere or (if you’re into CSS) tweak it manually?

    Thread Starter acqua

    (@acqua)

    I am not into CSS so I don’t know 🙁

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    then try generating it on one of the other sites/ tools mentioned?

    Thread Starter acqua

    (@acqua)

    Can you help me to exclude the quiz plugin?
    It’s not working properly with your plugin running
    here is a quiz page
    https://www.backdoorpodcast.com/quiz-chi-detto-frase/

    tks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Can you try adding wp-content/plugins/hd-quiz/ to the comma-separated JS optimization exclusion list?

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘Performance: 38/100 – how to improve?’ is closed to new replies.