Autoptimize source code

By Optimizing Matters, on WordPress.org since 2009. 800,000+ active installs.

Browse code Download zip

Autoptimize makes optimizing your site really easy. Below is its source code for every one of its 108 releases, what changed in the latest one, and how often it ships.

What changed in 3.1.17

Released Oct 25, 2026, 4 weeks after 3.1.16
  • fix regression with image optimization when W3 Total Cache is active, thanks to Andy for reporting & confirming fix
  • security improvement for Google Font optimization, thanks to Shinya (@4n86rakam1) for reporting & confirming fix

4 files changed since 3.1.16: 4 modified, 0 added, 0 removed.

Compare 3.1.16 with 3.1.17

Release history

108 releases since July 2009
  1. 3.1.17 Oct 25, 2026 fix regression with image optimization when W3 Total Cache is active, thanks to Andy for reporting & confirming fix
  2. 3.1.16 Sep 26, 2026 Security: overall hardening of Autoptimize, e.g. replacing some regular expressions with a more modern, safer approach.
  3. 3.1.15.1 Aug 20, 2026 fix for “Uncaught Error: Using $this when not in object context” when preloads are set
  4. 3.1.15 Mar 14, 2026 also add fetchpriority=high to preload set on Extra tab
  5. 3.1.14 Nov 23, 2025 improve HTML output for <link rel=”preload” images (based on report by Muhammad)
Full Autoptimize changelog with diffs

Source of 3.1.17

81 files
Browse all Autoptimize 3.1.17 files Browse trunk