Life Time Extra Credits Offer Extended

Validity: Dec 05 - Dec 12, 2025

Autoptimize

Autoptimize

Autoptimize speeds up your website by optimizing JS, CSS, images (incl. lazy-load), HTML and Google Fonts, asyncing JS, removing emoji cruft and more.
Rating:
4.7
star-rating-1star-rating-2star-rating-3star-rating-4star-rating-5
Active Installations:
1000000+
Last Updated:
May 22, 2025
WordPress Version:
5.3 or higher
Tested up to:
6.8.1

Easy Optimization

Make site optimization effortless with Autoptimize. It aggregates, minifies, and caches scripts and styles, optimizes images, removes unnecessary code, and more.

Improved Speed

Boost your site's speed and load times with Autoptimize's ability to inject CSS in the page head, inline critical CSS, and defer aggregated full CSS.

Improved Performance

Boost your site's performance with Autoptimize. It moves scripts to the footer, injects CSS in the page head, optimizes Google Fonts, and optimizes your site even on HTTP/2.

Premium Power-Up

Upgrade to Autoptimize Pro for advanced features like image optimization, CDN integration, page caching, automatic critical CSS rules, and more. Take your site's speed to the next level.

3.1.13

3.1.12

  • image optimization: improvements to the favicon regex
  • javascript optimization: integrate most recent version of jsmin.php
  • critical CSS: improve blocklist (url/ paths that should not be added to the job queue)
  • some other minor changes/ improvements/ filters, see the GitHub commit log.

3.1.11

3.1.10

  • improvement: with “don’t aggregate but defer” and “also defer inline JS” on, also defer JS that had the async flag to avoid the (previously) asynced JS from executing before the inline JS has ran.
  • improvement: show option to disable the default on “compatibility logic”.
  • fix for regression in 3.1.9 which caused JetPack Image optimization not working even if image optimization was off in AO.
  • API: some extra hooks in critical CSS to enable others (and AOPro) to act on changes in critical CSS rules
  • some other minor changes/ improvements/ filters, see the GitHub commit log.

3.1.9

  • improvement: activate JS, CSS & HTML optimization upon plugin activation (hat tip to Adam Silverstein (developer relations engineer at Google))
  • improvement: also defer asynced JS (to ensure execution order remains intact; asynced JS should not execute before deferred inline JS which it might depend upon)
  • improvement: exclude images from being lazyloaded if they have fetchpriority attribute set to high (as done by WordPress core since 6.3)
  • bugfix: disable spellcheck on CSS textarea’s (above the fold CSS/ critical CSS) which in some cases caused browser issues
  • add tab to explain Autoptimize Pro.
  • confirmed working with WordPress 6.4 (beta 3)
  • some other minor changes/ improvements/ filters, see the GitHub commit log.

3.1.8.1

  • urgent fix for PHP error, sorry about that!

3.1.8

  • Images: improve optmization logic for background images
  • Critical CSS: don’t trigger custom_post rule if not is_singular + adding debug logging for rule selection
  • some other minor changes/ improvements/ filters, see the GitHub commit log.

3.1.7

  • security: improve validation (import) and sanitization (output) of critical CSS rules, to fix a medium severity Admin+ Stored Cross-Site Scripting vulnerability as reported by WP Scan Security.

3.1.6

  • CSS: removing trailing slashes in <link tags for more W3 HTML validation love
  • Extra: also dequeue WooCommerce block CSS if “remove WordPress block CSS” option is active
  • imgopt: also act on non-aggregated inline CSS
  • imgopt: added logic to warn users if Shortpixel can’t reach their site
  • backend: AO toolbar JS/ CSS is finally minified as well.
  • explicitly disable optimization of login pages
  • some other minor changes/ improvements/ filters, see the GitHub commit log.

3.1.5

  • improvements to JSMin by Robert Ehrenleitner (big thanks Robert!).
  • do not consider jquery.js as minified any more (WordPress now uses jquery.min.js by default and jquery.js is the unminified version).
  • fix for “undefined array key” PHP errors in autoptimizeCriticalCSSCron.php
  • some other minor changes/ improvements/ filters, see the GitHub commit log.

3.1.4

  • Improvement: when all CSS is inlined, try doing so after SEO meta-tags (just before ld+json script tag which most SEO plugins add as last item on their list).
  • Img opt: also optimize images set in data-background and data-retina attributes (+ filter to easily add other attributes)
  • CSS opt: filter to enable AO to skip minification of calc formulas in CSS (as the CSS minifier on rare occasions breaks those)
  • Multiple other filters added
  • Some other minor changes/ improvements/ filters, see the GitHub commit log.

3.1.3

  • Multiple fixes for metabox LCP image preloads (thanks Kishorchand for notifying & providing a staging environment to debug on).
  • Fix in revslider compatibility (hat tip Waqar Ahmed for reporting & helping out ).
  • No image optimization or criticalcss attempts on localhost installations any more + notification of that fact if localhost detected.
  • Some other minor changes/ improvements/ filters, see the GitHub commit log.

3.1.2

  • Google Fonts: some more removal logic
  • fix for 404 fallback bug (hat tip to Asif for finding & reporting)
  • Some other minor changes/ improvements/ filters, see the GitHub commit log.

3.1.1.1

  • Quick workaround for an autoload conflict with JetFormBuilder (and maybe other Crocoblock plugins?) that causes a critical error on the AO settings page.

3.1.1

  • images: when optimizing images and lazyloading is on, then by default do not set an LQIP (low quality image placeholder) any more (reason: it might look nice but it comes with a small-ish perf. penalty). This can be re-enabled by returning true to the autoptimize_filter_imgopt_lazyload_dolqip filter.
  • security: further improvements to critical CSS settings page (again with the great assistance of WPScan Security).
  • some other minor changes/ improvements/ filters, see the GitHub commit log.

3.1.0

  • new HTML sub-option: “minify inline CSS/ JS” (off by default).
  • new Misc option: permanently allow the “do not run compatibility logic” flag to be removed (which was set for users upgrading from AO 2.9.* to AO 3.0.* as the assumption was things were working anyway).
  • security: improvements to the critical CSS settings page to fix authenticated cross site scripting issues as reported by WPScan Security.
  • bugfix: “defer inline JS” of very large chunks of inline JS could cause server errors (PCRE crash actually) so not deferring if string is more then 200000 characters (filter available).
  • some other minor changes/ improvements/ hooks, see the GitHub commit log

3.0.4

  • fix for “undefined array key ao_post_preload” on post/ page edit screens
  • fix for image optimization altering inline JS that contains an <img tag if lazyload is not active
  • improvements to exit survey
  • confirmed working with WordPress 6.0

3.0.3

  • fix for images being preloaded without this being configured when lazyload is on and per page/post settings are off.
  • ensure critical CSS schedule is always known.
  • when deferring non-aggregated JS, make the optimatization exclusions take the full script-tag into account instead of just the src URL.

3.0.2

  • rollback automatic “minify inline CSS/ JS” which broke more then expected, this will come back as a separate default off option later and can now be enabled with a simple filter: add_filter( 'autoptimize_html_minify_inline_js_css', '__return_true'); .
  • fix for “Call to undefined method autoptimizeOptionWrapper::delete_option()” in autoptimizeVersionUpdatesHandler.php

3.0.1

  • fix for minification of inline script with type text/template breaking the template (e.g. ninja forms), hat tip to @bobsled.
  • fix for regression in import of CSS-files where e.g. fontawesome CSS was broken due to being escaped again with help of @bobsled, thanks man!

3.0.0

  • fundamental change for new installations: by default Autoptimize will not aggregate JS/ CSS any more (HTTP/2 is ubiquitous and there are other advantages to not aggregating esp. re. inline JS/ CSS and dependancies)
  • new: no API needed any more to create manual critical CSS rules.
  • new: “Remove WordPress blocks CSS” option on the “Extra” tab to remove block- and global styles (and SVG).
  • new: compatibility logic for “edit with elementor”, “revolution slider”, for non-aggregated inline JS requiring jQuery even if not excluded (= auto-exclude of jQuery) and JS-heavy WordPress blocks (Gutenberg)
  • new: configure an image to be preloaded on a per page/ post basis for better LCP.
  • improvement: defer inline now also allowed if inline JS contains nonce or post_id.
  • improvement: settings export/ import on critical CSS tab now takes into account all Autoptimize settings, not just the critical CSS ones.
  • technical improvement: all criticalCSS classes were refactored, removing use of global variables.
  • technical improvement: automated unit tests on Travis-CI for PHP versions 7.2 to 8.1.
  • fix: stop Divi from clearing Autoptimize’s cache which is pretty counter-productive.
  • misc smaller fixes/ improvements, see the GitHub commit log

older

Perfect, fast Support!

By Peter Kinny (peterkinny) on June 30, 2025

Thank yo u for your perfect an fast support with my Issue.

Kind regards, Peter

Fantastic plugin for optimizing CSS and JS!

By juanmag on May 14, 2025

Fantastic plugin for optimizing CSS and JS! I reduced my load time by almost 30%. The async and defer options are well-documented and effective. Thanks for making such a solid tool!

elementor css problem

By webdud (ehexn) on April 6, 2025

kills my stylesheet with elementor

Responsive support

By thefitrv on April 2, 2025

We've been using this plugin for literally about a decade now, over multiple WP versions and different themes. Support is prompt, personal, and amazing. Both times when I've had an issue, I've never been left to flounder.

Useful plugin and great free support

By MarcGuay on March 31, 2025

Useful plugin and great free support

Amazing

By Mittsforcode (jorgegl) on January 31, 2025

Just a few clicks and the site goes to 90% and B at GTMetrix :)

I love this plugin

By duccoldany on January 15, 2025

I love how this plugin generates critical CSS automatically! It improved my website's performance on PageSpeed Insights. However, the initial setup was a bit tricky as I had to tweak a few settings to avoid layout shifts.

AWESOME PLUGIN+ EXCELLENT SUPPORT

By anm (ahuk) on December 16, 2024

Autoptimize is an excellent plugin for website optimization. It’s user-friendly and immediately boosts website performance scores once activated.

On top of that, Frank, the plugin’s creator, is incredibly helpful! He’s quick to respond to forum questions and provides clear, patient guidance to resolve any issues.

I highly recommend this plugin for improving website performance. The exceptional support is definitely a standout feature! :)

Easy and powerfull !

By alex586 on December 15, 2024

Your blog (and your visitors) will thank you. Top-notch technical support.

How to disable caching

By xu wu (wuxu) on November 12, 2024

I only want to optimize the CSS and JS code for shrinking the front end, I don't want the cache files because when I delete the Autoptimize cache and rebuild it, the previous CSS and JS paths will be lost. I want these file paths to stay the same forever, so I don't want cached files, any solutions please? Thanks!
Also the plugin creates some PHP files under the cache and their names are randomized.

Try other plugins too!

WP Super Cache

A very fast caching engine for WordPress that produces static html files.

Try Demo More Details

FastPixel Cache – Optimize Page Speed: Compress Images, Minify, Clean Database & CDN

Optimize Core Web Vitals and PageSpeed with advanced caching, image compression, lazy loading, critical CSS, and CDN – the ultimate performance tool.

Try Demo More Details

WooCommerce Product Image Flipper

Adds a secondary image on product archives that is revealed on hover. Perfect for displaying front/back shots of clothing and other products.

Try Demo More Details
Author Site Author Site

Try Autoptimize With InstaWP

Contact Sales

Reach out to us to explore how InstaWP can benefit your business.