WordPress plugin
Autoptimize Pro
Autoptimize Pro is a premium Power-Up for WordPress performance setups. It includes page caching, picture optimization, CDN support, automatic critical CSS rules and extra booster options to Autoptimize.
Autoptimize Pro is a premium Power-Up for WordPress performance setups. It includes page caching, picture optimization, CDN support, automatic critical CSS rules and extra booster options to Autoptimize.
CSS, JavaScript and HTML settings
Autoptimize can aggregate, minify and cache CSS and JavaScript, and minify HTML. CSS goes in the page head by default. You can inline critical CSS and defer the aggregated full stylesheet; with aggregation enabled, scripts can be moved and deferred to the footer. Settings also cover Google Fonts, asynchronous non-aggregated JavaScript and removal of WordPress core emoji code.
Aggregation and minification can be configured separately. With aggregation off, minification can remain on. HTTP/2 reduces the impact of multiple requests, while aggregation or minification may still suit a particular website. Test pages after changing settings, then adjust and test again to find a configuration that works in context.
Page caching, images and CDN
Pro adds page caching alongside image optimization, CDN support and automatic critical CSS rules. Image settings can optimize and lazy-load images, with support for WebP and AVIF. Image optimization requires the service to fetch the original documents, so images behind a firewall, proxy, password protection or hotlink restrictions may not be processed.
These options can be combined with Autoptimize’s script and style settings. The API provides further ways to customize the setup, including filters for optimization behavior.
Configuration and support
Start on the main settings page and enable the capabilities suited to the site. After changing aggregation, deferral, critical CSS, image or font settings, check the affected pages. If something behaves unexpectedly, adjust the configuration and test again.
Help is available through the WordPress support forum. Confirmed code bugs can be reported on GitHub, and premium support and web performance optimization services are also offered.
Removing Autoptimize
Disable the extension first, then remove it. Clear any remaining page cache that may contain pages referencing optimized CSS or JavaScript, including cache managed by another page caching extension.
