[Resolved] autoptimize unused css and chain linking

Home Forums Support [Resolved] autoptimize unused css and chain linking

Home Forums Support autoptimize unused css and chain linking

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1880037
    Micke

    Hi!

    I found another thread on Google where you suggested Autoptimize for site speed. And it’s working great. But when I do Google page speed test, I get this unused css: /wp-content/cache/autoptimize/css/autoptimize_2ca4ddf4b26925a48fa82404836ffe92.css and chain linking request.

    screenshot: https://ibb.co/L6YjT2f

    #1880052
    Elvin
    Staff
    Customer Support

    Hi there,

    Have you sorted this out? I’ve checked the site and ran it on Google PSI and I don’t see the “reduce unused CSS” anymore.

    As for the chaining, it’s because of the redirection. The page is being redirected from an HTTP to https version of the site. This isn’t something the theme controls.

    #1880147
    Micke

    Hi!

    I managed to solve the reduce unused css. That’s unfortunate for the chaining. But I have some issues now with CLS instead. with it being very inconsistent. Most of the time it has issues, but sometimes it shows 0.

    mobile: https://ibb.co/6YtNMfG
    desktop: https://ibb.co/pbWccbN

    Tried pagespeed a few times now. It’s mostly desktop that have issues with CLS.

    Is this something the theme can control/fix?

    #1880346
    David
    Staff
    Customer Support

    Hi there,

    the theme itself has no CLS related issues.
    CLS occurs when CSS is deferred from loading – ie. loaded after the initial content is displayed. And the most common reason for this is when CSS is optimized eg. removing unused CSS, creating Critical CSS options.

    What difference to the PSI scores did ‘reducing the Unused CSS’ actually make to site performance?

    #1880465
    Micke

    Hi!

    Thanks for pointing that out David! I turned off the settings in WP rocket that removes unused CCS and the CLS is close to 0 now. Thanks a lot!

    The only thing preventing me from getting a green score on mobile is the chain linking: https://ibb.co/M7f9P2h
    /wp-content/cache/autoptimize/css/autoptimize_0b64e6c0b33750cb2dc0a50b1426203b.css

    Do you have any idea how I can fix this?

    #1881324
    David
    Staff
    Customer Support

    You may want to try NOT combining the CSS files… with HTTP2 several small CSS files will load faster then one larger file.

    #1881605
    Micke

    Thanks for the help David, got it to 100 on both mobile and desktop now! Thanks a lot! :).

    #1881820
    David
    Staff
    Customer Support

    Awesome – glad to hear that!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.