Support » Plugin: Autoptimize » Optimize CSS Delivery of YARPP – Defer render blocking Yarpp css

  • Resolved AoxoA

    (@aoxoa)


    Google PageSpeed says I have a few blocking CSS resources. One of them has to do with YARPP plugin.

    I tried the “Inline and Defer CSS” option and pasted the block of “above the fold CSS” in the input field. That pasted in css doesn’t include YARPP css.

    The render blocking YARPP css is coming from /wp-content/plugins/yet-another-related-posts-plugin/includes/styles_thumbnails.css.php?width=120&height=80&ver=4.3.1

    Any ideas how I can defer or asynchronously load this blocking YARPP css (without Inlinig all CSS)?

    • This topic was modified 1 year, 2 months ago by  AoxoA.
Viewing 3 replies - 1 through 3 (of 3 total)
  • I discovered the render blocking YARPP css only shows up when I have WP Rocket activated. I am not using any minification features of WPRocket. Any ideas to prevent this?

    Note: not sure if this is related but I also get a render blocking css from an autoptimize file: /wp-content/cache/autoptimize/css/autoptimize_f2716812a197cdb88af3ec6f3d464402.css

    I have deleted this file, cleared Autoptimize cache, etc… That same file eventually comes back.

    • This reply was modified 1 year, 2 months ago by  AoxoA.
    • This reply was modified 1 year, 2 months ago by  AoxoA.
    Plugin Author Frank Goossens

    (@futtta)

    yeah, so what is happening (not taking wp rocket into account, don’t know too much about that);
    * the yarpp CSS cannot be aggregated because it’s a .php-file
    * the autoptimized CSS is render blocking when not “inlined” or “inlined & deferred”

    so from AO’s point of view go back to “inline & defer”, this will fix the “render blocking” warning on autoptimized CSS.

    as far as yarpp & wp-rocket is concerned; you’d be better off asking the wp rocket guys & girls really 🙂

    I’ll keep working on it. Thanks for the info 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Optimize CSS Delivery of YARPP – Defer render blocking Yarpp css’ is closed to new replies.