Autoptimize 2.7 is in the final stages and the beta version can as of now be downloaded from https://downloads.wordpress.org/plugin/autoptimize.zip
Main new features:
- the “critical CSS power-up” is now fully integrated. If you have the power-up installed and active already that takes priority, disable the power-up to use the integrated version.
- an experimental option to provide “fallback autoptimized CSS and JS”; in some cases a cached version of the HTML links to autoptimized CSS/ JS that was already removed. if you enable that option, Autoptimize will try to intercept those requests and redirect them to fallback versions to limit the breakage. the option is default off for now, but might become default on at a later stage.
- misc. bugfixes and improvements, see the github commit log for more info.
So who want to test? Feedback in the comments please! ๐
Hello Frank! Thanks for all your efforts you do for us – developers who make websites faster. But I still wonder what is you way to go if you face with huge CSS file (~1M) which comes from some unmodular theme/page builder.
It will remain 1MB; AO does not remove unused rules, but when doing “inline & defer” (ideally with the automated critical CSS solution), the full CSS is loaded later, in a non-render-blocking manner, so the impact is less important ๐
By default, you should definitely exclude Woo Cart and Checkout.
Ours was a affected a few days due to this.
Not a great thing for just some minorly styled pages with such huge importance.
Just letting you know. thanks
Well, that option will indeed be off by default as from 2.7 for new installations Mark ๐
Perfect.
Part 2: Please add the woocommerce payment endpoints under user/my account (in particular “payment methods”), it was also affecting the square payment form.
1 Uncaught ReferenceError: WC_Square_Payment_Form_Handler is not defined.
low and behold, AO had snatched up this javascript. I’ll manually exclude until you have defaults on 2.7.
–thanks for the amazing plugin, easily in the top 3 wp plugins ever) ๐
Late to the 2.7 game, but as it’s such a small change; https://github.com/futtta/autoptimize/commit/4989d5682c404ce507cf377cfe1b5a232f11a313
Can you download the 2.7 beta zip and test to confirm Mark?
Just got it now. Thank you. The link at the top of this post linked me to WP 2.6 version.
“Autoptimize 2.7 is in the final stages and the beta version can as of now be downloaded from https://downloads.wordpress.org/plugin/autoptimize.zip”
everything is smooth regardless, hope to see the bonus level improvements. Unfortunately one designer on our site used elementor and that is a ridiculous pig that I’m trying to get rid of.
It’s labelled 2.6.99 Mark so indeed officially it’s still 2.6, but in reality the code is that of 2.7 already ๐
I’m signing up for CriticalCSS. Decided just now.