Viewing 4 replies - 31 through 34 (of 34 total)
  • Plugin Author Frank Goossens

    (@futtta)

    inline & defer is explained in the FAQ, but the bottom-line is that you need a tool that extracts the “critical CSS”. that “above the fold”-css is then inlined by AO (so no separate download) and all other (autoptimized CSS) is deferred until after page load.

    Hi Frank,

    Thanks for such an awesome plugin. I am sure next version is going to be great too.

    Just a suggestion from my side. I analyzed this behavior of HTML optimization in GTMetrix in which it removes quotes from single string attribute values. For this purpose I created a regular expression, maybe you can add it in the next version.

    preg_replace("/([\"\'](?=[a-zA-Z0-9\-]*[\"\'][^>]*>))([a-zA-Z0-9\-]+)\\1/", '$2', $content);

    I know it won’t affect much, but I was getting too obsessed with getting a 100% rating (LOL)

    Plugin Author Frank Goossens

    (@futtta)

    nice bairathtirahul ??

    you could easily hook that into AO using the autoptimize_html_after_minify filter.

    Yes i did that only. ??

Viewing 4 replies - 31 through 34 (of 34 total)
  • The topic ‘preparing for autoptimize 2.1.0; wanna test?’ is closed to new replies.