• Resolved frankxx2

    (@frankxx2)


    Hi, I use your plugin to get my last few errors resolved that Google PageSpeed Insight’s reported.
    Now there is only one last css error left, and it is a css from Autoptimize itself.

    Here the exact message from Google:

    Eliminate render-blocking JavaScript and CSS in above-the-fold content
    Your page has 1 blocking CSS resources. This causes a delay in rendering your page.
    None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
    Optimize CSS Delivery of the following:
    …cache/autoptimize/css/autoptimize_5a89f2e2115279d38ef47671418a9661.css

    **

    By the way, it’s about the page http://www.premiumshopping.net

    Thank you so much! Would be so cool, if I could get this one last thing resolved with your help. Because even though your plugin resolved 12 other issued perfectly, Google still gives me only 84/100 because of the last issue. Starting from 85 is “green”, which is my goal.

    Can you help me?

    Thanks!

    https://wordpress.org/plugins/autoptimize/

Viewing 15 replies - 46 through 60 (of 63 total)
  • Plugin Author Frank Goossens

    (@futtta)

    autoptimize only optimizes CSS/ JS on your own server @beinghome9, but the sharethis.js file is on a 3rd party server. you could e.g. install the “async javascript”-plugin to try to force the sharethis-JS to load non-render-blocking.

    Thanks Frank @futtta.
    It worked 🙂

    Hello,
    I tested my website speed on Google. It suggests me to fix this problem. “Eliminate render-blocking JavaScript and CSS in above-the-fold content”. I am already using Autoptimise plugin. what should I do next to score high on this report?

    Plugin Author Frank Goossens

    (@futtta)

    look at the details of that warning; what files are marked as “render blocking”?

    Plugin Author Frank Goossens

    (@futtta)

    all of those have been asked and answered earlier in this thread @sidkarulkar and I don’t like repeating myself 🙂

    blogmetric

    (@blogmetric)

    There are a lot of things that go into the equation that determines how quickly site visitors begin to see content when they visit your website. Some of these things you can’t control: the speed of their internet connection, their geographic location, network congestion, and so forth. However, there are others things that you can and should control.

    One tool you can use to identify speed-reducing issues that are under your control is Google PageSpeed Insights. Surely you’ve used PageSpeed Insights before (if you haven’t, this is your cue to head there before reading the rest of this article). It’s free, and pinpoints issues that are slowing down delivery of your website, such as render-blocking JavaScript and CSS.

    You can read in detail at http://blogmetric.org/eliminate-render-blocking-javascript-css/

    Plugin Author Frank Goossens

    (@futtta)

    given the fact people are asking how to fix the Google PageSpeed Insight warnings, referring them to GPSI is pretty useless @blogmetric. plugging your blogposts like that -even if they mention AO favorably, for which I thank you- is frowned upon …

    taurusmedia

    (@taurusmedia)

    Hello, i maked edit .htacces file but i ahve few mroe problems left.

    https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.taurusmedia.lt%2F

    Leverage browser caching for the following cacheable resources:

    https://connect.facebook.net/en_US/sdk.js (20 minutes)
    https://maps.googleapis.com/…tTr98FPglJL7nEodRmS_9oMD8562RE7c&ver=3.0 (30 minutes)
    https://www.google-analytics.com/analytics.js (2 hours)

    How i can fix it? my website is http://www.taurusmedia.lt

    Plugin Author Frank Goossens

    (@futtta)

    you can’t change the caching properties of external resources @taurusmedia.

    emran1998

    (@emran1998)

    Try Different options and I got speed of 94, but still getting an error of CSS and Js file blockage can you check the speed of my blog http://www.sizlomedia.com

    aankush

    (@aankush)

    Hi Frank,

    I just installed and activated the autopimize plugin. The WordPress website, which I am referring to is hosted on AWS and on multiple instances(image ) behind the ELB (load balancer). And the plugin is available on each instance. Since the website is LIVE and running, before I optimize the files, wanted to confirm if there is a way to revert to my original settings in case things go haywire.

    Appreciate your response on this.

    Regards
    Ankush

    Regards
    Ankush

    Plugin Author Frank Goossens

    (@futtta)

    wanted to confirm if there is a way to revert to my original settings in case things go haywire.

    yep; simply disable AO and make sure to clear any page cache and you should back at the original state (AO never changes your original CSS/ JS) 🙂

    csterling

    (@csterling)

    Hi Frank @futtta,

    Very cool plugin. I am trying to leverage it for my site, specifically to improve the PageSpeed Insights score. Currently, my above the fold content is slowing down rendering. I followed your video (https://youtu.be/k56E_7SFQoE) to eliminate render blocking css above the fold, but when I enabled Inline and Defer CSS, and pasted in the critical css, I get all my content shifted to the right, with a big white column on the left. See this image- https://ibb.co/dZsSQk

    It is disabled on my site currently so the css should look correct at http://www.californiabeardco.com

    After enabling the inline css and defer css, my PageSpeed Insight score actually went down to 64 from 70. Any thoughts?

    Edit 1: When the inline css and defer css is enabled, I get a flash of unstyled content before the style is applied.

    Edit 2: The critical CSS that was created from the generator is: html {
    margin-top: 32px !important;
    }

    @media screen and (max-width: 782px) {
    html {
    margin-top: 46px !important;
    }
    }

    and it seemed incredibly short compared to the one suggested in the video. I generated critical CSS using a different tool, which gave me a lot more css to copy, but the outcome was the same. The website style is still broken and not appearing properly.

    My browser is usually maximized. When I refresh, the layout is all broken. However, if I resize the browser, then re-maximize it, the layout comes together and looks correct. I have no clue what to do about that.

    • This reply was modified 7 years ago by csterling.
    • This reply was modified 7 years ago by csterling.
    • This reply was modified 7 years ago by csterling.
    Plugin Author Frank Goossens

    (@futtta)

    @csterling; the short generated criticalcss is clearly insufficient, the one you generated with another tool could be better, but not ok yet. you’ll have to either look for (yet) another tool or try to amend the one generated with the second tool by hand?

Viewing 15 replies - 46 through 60 (of 63 total)
  • The topic ‘Eliminate render-blocking JavaScript and CSS in above-the-fold content’ is closed to new replies.