Support » Plugins and Hacks » Autoptimize » Eliminate Render Blocking CSS

Viewing 15 replies - 31 through 45 (of 141 total)
  • Frank One last question > Is there any security issues to using the autoptimize php to deliver the content.

    aj@webfaster.org
    I misquoted the php version sb 5.6.22 I do have 7.x available but have not upgraded yet.

    I do track user experience and I like it around 95+ when possible. Google also says they are ranking on page load so it would seem some attention to page load would be important. ie. page load of 10 seconds with a user of 99 would not do as well as the same page loading at 0.8 with a UX of 99.

    Or is all this google page speed just smoke and mirrors

    And a big thanks for the webpagetest.org link. I will check it out today.

    I just ran a couple of test very cool site. I like the ability to check with different browsers and locations. This tool makes more sense than any I have tried. Thanks again for the tip.

    FEATURE REQUEST
    1. A block to include js scripts which are not being picked up by autoptimize such as pesky plugin js
    2. A block to include css that is not being picked up such as pesky plugin css or other that autoptimize is not picking up.

    Both only for local resources of course.

    Plugin Author Frank Goossens

    (@futtta)


    Frank One last question > Is there any security issues to using the autoptimize php to deliver the content.

    no, only a (very small) performance impact, as the is being served by PHP.

    FEATURE REQUEST
    1. A block to include js scripts which are not being picked up by autoptimize such as pesky plugin js
    2. A block to include css that is not being picked up such as pesky plugin css or other that autoptimize is not picking up.

    the question would be; why isn’t AO picking that up. what does “pesky plugin” do?

    Hi flyfisher842,

    Google also says they are ranking on page load so it would seem some attention to page load would be important. ie. page load of 10 seconds with a user of 99 would not do as well as the same page loading at 0.8 with a UX of 99.

    It’s complicated. But the bottom line is:

    1.) PageSpeed Insights is a basic best practices tool. People — and it’s not their fault — attribute WAY more to this tool than what it actually is (more info available upon request).

    2.) Page Load/Document Complete is only a problem when it is *learn more*. And this is where things get fuzzy for the layman (no insult intended)… If, for example, one’s site has a Speed Index of 942, BUT, their Document Complete time is upwards of 18+ seconds… yeah, that MIGHT be a problem. MIGHT be, but not necessarily…

    What Google wants, because it is what your website’s users want, is an optimal User Experience. Simply stated, the user’s perception of speed is the by-far-and-away most important performance characteristic. This is, of course, why Google is so adamant about optimizing above-the-fold content.

    Or is all this google page speed just smoke and mirrors

    No, not at all. There must needs some sort of major reworking, however, of the general public’s perception of what GPSI actually is and the Internet isn’t helping. WpFASTER is attempting to lead this charge.

    Again — and I cannot stress the simplicity of this enough — GPSI is a basic best practices tool. That’s it. That’s all. End of story. No different than, say, GTmetrix or Pingdom.

    And a big thanks for the webpagetest.org link. I will check it out today.

    I just ran a couple of test very cool site. I like the ability to check with different browsers and locations. This tool makes more sense than any I have tried. Thanks again for the tip.

    My pleasure. If you’re looking… you will see that WebPageTest is a real test

    What Google — and your site’s users — ultimately want is real world performance.

    It is in fact the only thing that matters.

    Be well,
    AJ

    AJ I agree this is a complicated process to get right. If the theme developers would do a better job and load the proper above the fold js and css in head and the rest in the footer and if WP would load plugin js and css in footer, this might not be so bloody complicated.

    I have a couple of pages that have flash player videos on them. Only two about 2 meg each vid. Both the new pingdom and webpage test call the vids and measure the wait until the vids load as a page load. IMO this is not correct as the vids are click operated only if the viewer wants to watch them. The load in a browser by gtmetrix is about 1.5 or less. So IMO the information from both those tests are not accurate. The old pingdom only measured the initial load to the browser. While having the load times of the videos is useful, to me it should not be counted a part of the initial page load.

    In response about the feature request for inclusion of js and css. One such pesky plugin that AO does not pick up is the js for wp-spamshield and for css is a globalstyles sheet from a proprietary video management and monetization plugin I purchased.

    wp-spamshield is a comments antispam plugin. Both plugins are currently operating on post pages. Although the videos could be placed on regular pages too.

    It is no just AO, I have this problem with speedboosterpack too of not being able to include js and css that the testing sites show is render blocking.

    Another example is a downloader manager that gets used on post pages primarly. CSS in this case.

    Frank, When using the php delivery method, there is a link to the autoptimize php file in the footer. Clicking on that link brings up the minified code. Running that code thru http://www.unminify.com will show all the js functions and so on on that page. Is this not an opportunity for hackers.

    also gtmetrix and insights picks up the file as above the fold issues even though it is in the footer of the site.

    Plugin Author Frank Goossens

    (@futtta)


    re wp-spamfield; I’ll check that out (can’t do that for those proprietary plugins though)

    re php delivery; the exact same code is visible with the static delivery, JS is always “out in the open”.

    Plugin Author Frank Goossens

    (@futtta)


    ok, wp-spamshield delivers 2 JS-files and 1 inline JS block:
    * the inline JS-block is excluded from optimization because it is between noptimize-tags (as outputted by wp-spamshield)
    * one of the 2 JS-files is delivered by PHP, so AO cannot (and should not touch that)
    * wp-spamshield use then checks AO’s settings to see if AO has JS forced into head, if not it excludes itself (and jquery) from optimization

    so they’re doing a great job of making sure it just works, really 🙂

    Frank see their answer here. Thank you for taking a look. Great to have my amateur analysis of the html comment being the exclusion trigger confirmed.
    Yes they have really made it so it works.

    https://wordpress.org/support/topic/jscriptsphp?replies=2#post-8565270

    And to think I used to want to develop plugins. You guys do a great job and good support too. I am old and will keep my 4 brain cells for other pursuits thank you.

    Plugin Author Frank Goossens

    (@futtta)


    I am old

    Nah, that’s just a state of mind 🙂
    (I’m edging towards 50 myself)

    I have a couple of pages that have flash player videos on them. Only two about 2 meg each vid. Both the new pingdom and webpage test call the vids and measure the wait until the vids load as a page load. IMO this is not correct as the vids are click operated only if the viewer wants to watch them. The load in a browser by gtmetrix is about 1.5 or less. So IMO the information from both those tests are not accurate.

    Well, you’re ahead of the curve and don’t even know it.

    There are accurate tests; there is then the interpretation of those tests, however accurate they are……

    You’ll do wonderfully.

    Be well,
    AJ

    Frank State of mind is true up to a point. I am ahead of you by 2 decades plus a few years. I have been webmastering since 1999 and all this stuff for page loads and such is not as much fun anymore.

    Frank, I forgot to ask this.
    Is there a way to autoclean the autoptimize cache every so often for changes in pages and such. Or do I need to do this manually. The last time I used autoptimize, I ended up with 29,000 extra files on my hosting account over a couple year period and 5 sites.

    Or with php delivery is it only necessary to gen the php once and then it will auto deliver what ever is in the DB for each page and post. ie changes to existing posts or pages are automatically taken care of in delivery.

    Lastly the php delivery eats about 80ms on my host for initial page load so caching would help this. I like Comet Cache myself. What do you recommend. WP Super Cache or w3Total Cache. I think w3 is difficult to setup properly myself which is why I like comet cache. Easy Setup.

Viewing 15 replies - 31 through 45 (of 141 total)
  • You must be logged in to reply to this topic.