🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Optimization Detective icon
Maintained Tested with WP 7.1 #689 most installed plugin #3 in optimization Community

Optimization Detective

Provides a framework for leveraging real user metrics to detect optimizations for improving page performance.

Active installs50K+50K+ tier
Downloads · 30d10.9K▼ -6.8% vs prev. 30d
Rating4.3/53 reviews
Health score69/100Good
All-time downloads522.1KSince Mar 2024
Support resolved—No recent threads
RequiresWP 6.9PHP 7.4+
Overall rank#689of 77,370 plugins
Our verdict

Solid choice

Optimization Detective is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50K+ sites, is rated 4.3/5 and was last updated 3 months ago, and scores 69/100 on our health check.

  • Proven at scale on 50K+ active sites
  • Tested with the latest WordPress (7.1)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

284568852Sep 4Oct 18Dec 2
Yesterday447
Daily average (1y)668
Peak day20,450Jan 9, 2026
Last 12 months243.3K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Optimization Detective stands today
Overall popularity #689 of 77,370 WordPress.org plugins Top 0.89%
50K+ installs tier 233 of 321
Next tier: 100K+ installs
Optimization #3 of 401 plugins → Performance #31 of 1,144 plugins → Rum #1 of 11 plugins →

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
optimization #4 5,761 Best optimization plugins →
performance #46 10,000 Best performance plugins →
rum #1 46 Best rum plugins →

Version adoption

Share of active sites per release.

  • 1.096.9%
  • Other3.1%

Rating breakdown

★★★★★★★★★★ 4.3 from 3 reviews

  • 5★66.7%
  • 4★0.00%
  • 3★33.3%
  • 2★0.00%
  • 1★0.00%

About Optimization Detective

From the official readme · v1.0.0-beta7

Description

This plugin captures real user metrics about what elements are displayed on the page across a variety of device form factors (e.g. desktop, tablet, and phone) in order to apply loading optimizations which are not possible with WordPress’s current server-side heuristics.

This plugin is a framework dependency which does not provide optimization functionality on its own. For that, please install the Image Prioritizer and Embed Optimizer dependent plugins (among others to come from the WordPress Core Performance team). There are currently no settings and no user interface for this plugin since it is designed to work without any configuration.

Your site must currently have the REST API accessible to unauthenticated frontend visitors since this is how real user metrics are collected about pages on your site; nevertheless, exploration is underway for providing alternative mechanisms for collecting the metrics. Also, please note that no metrics are currently collected from Safari since it does not yet support the Largest Contentful Paint metric, but support for this Core Web Vitals metric is coming this year via Interop 2025.

Please refer to the full plugin documentation for a technical introduction, filter/action hooks, and extensions that show use cases and examples. You can also watch the talk from WordCamp Asia 2025: Boosting Performance with Optimization Detective.

Installation

Installation from the directory within WordPress

  1. Visit Plugins > Add New in the WordPress Admin.
  2. Search for Optimization Detective.
  3. Install and activate the Optimization Detective plugin.

Manual installation

  1. Download the plugin ZIP from WordPress.org or, after following the Getting Started instructions, create a ZIP build from a clone of the GitHub repo via npm run build:plugin:optimization-detective --env zip=true.
  2. Visit Plugins > Add New Plugin in the WordPress Admin.
  3. Click Upload Plugin
  4. Select the optimization-detective.zip file on your system from step 1 and click Install Now.
  5. Click the Active Plugin button.

Changelog

Image loading optimizations have been moved to a new dependent plugin called Image Prioritizer. The Optimization Detective plugin now serves as a dependency.

1.0.0-beta7

Enhancements

  • Add declare( strict_types = 1 ) to all PHP files. (2424)
  • Bump minimum required WordPress version to 6.9. (2517)
  • Bump minimum required PHP version from 7.2 to 7.4. (2469)
  • Improve code quality with native property types and stricter static analysis. (1729)
  • Bump the bundled web-vitals library from 5.1.0 to 6.1.0, including its 6.0.0 major release. (2606, 2629)
  • Ship the source maps for the bundled web-vitals library, which it began publishing in 6.0.0.
  • Move URL Metrics storage HMAC validation into the REST endpoint callback so it runs once all parameters have been validated and sanitized, returning a rest_invalid_param error. (2436)
  • Remove the deprecated constants along with the deprecated.php file that contained them.

1.0.0-beta6

Security

  • Add validation of the SCRIPT element containing the detection args JSON. This fixes a DOM clobbering vulnerability in which an injected element with a colliding id could shadow the script and cause an arbitrary module to be imported, which required an authenticated user with at least a contributor role. Props to Asaf Mozes (amosec) for responsible disclosure.

1.0.0-beta5

Bug Fixes

  • Prevent fatal error in od_get_current_url_metrics_etag() when $wp_query->posts is null. (2347)

Enhancements

  • Add support for dns-prefetch links. (2256)

1.0.0-beta4

Enhancements

  • Add URL Metric mutation helpers to extension initialization API. (1951)
  • Add gzip compression for URL metrics using Compression Streams API. (1959)
  • Allow disabling timestamp-based freshness checks by using negative TTL values. (1940)
  • Bump web-vitals from 5.0.3 to 5.1.0. (2116)
  • Change default garbage collection TTL of od_url_metrics posts from 1 month to 3 months and add the filter to customize expiration. (1950)
  • Enhance Optimization Detective meta generator tag with all disabled reasons. (1979)
  • Amend URL metrics to the generator meta tag content. (1954)
  • Improve construction of inline scripts with sourceURL, hardened JSON encoding, and exporting JSON in separate script. (2169)
  • Improve discoverability and user guidance for Optimization Detective extensions. (2261)
  • Remove deprecated url_metrics_group_collection and class aliases and bump required OD version in Image Prioritizer. (1943)

Bug Fixes

  • Avoid possible error when reading groups in debug mode. (2108)
  • Delay loading detect module until page is loaded and idle. (2017)
  • Ensure URL Metric is initially constructed with all elements prior to initializing extensions. (1968)
  • Short-circuit detection when page is opened in background tab since web-vitals.js will not report LCP. (1927)

1.0.0-beta3

Enhancements

  • Fire actions before and after Optimization Detective processes a document. (1919)
  • Update OD_HTML_Tag_Processor::next_tag() to allow $query arg and prepare to skip visiting tag closers by default. (1872)
  • Expose the logging functions to client-side extensions and automatically account for the value of isDebug. (1895)
  • Update URL Metric storage REST API endpoint to return status code 423 Locked instead of 403 Forbidden. (1863)
  • De-duplicate logic between REST API and URL Metrics post type. (1867)

Bug Fixes

  • Fix URL encoding in Link HTTP response header. (1907)
  • Fix triggering post update actions after storing a URL Metric and refactor REST API endpoint logic into class. (1865)
  • Fix unpredictable LCP element being identified in a URL Metric Group. (1903)
  • Handle missing Web Crypto API in non-HTTPS contexts when generating the already-submitted sessionStorage key. (1911)

1.0.0-beta2

Enhancements

  • Account for 64 KiB limit for sending beacon data. (1851)
  • Add post ID for the od_url_metrics post to the tag visitor context. (1847)
  • Change minimum viewport width to be exclusive whereas the maximum width remains inclusive. (1839)
  • Disable URL Metric storage locking by default for administrators. (1835)
  • Include active plugins in ETag data and increase default freshness TTL from 1 day to 1 week. (1854)
  • Make ETag a required property of the URL Metric. (1824)
  • Use CSS range syntax in media queries. (1833)
  • Use IFRAME to display HTML responses for REST API storage request failures in Site Health test. (1849)

Bug Fixes

  • Prevent URL in Link header from including invalid characters. (1802)
  • Prevent optimizing post previews by default. (1848)

Documentation

  • Improve Optimization Detective documentation. (1782)

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Optimization Detective alternatives

All optimization plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 AMP AMP An easier path to great Page Experience for everyone. Powered by AMP. by Weston Ruter 300K+ ★★★★★★★★★★ 3.8 (367) 2 years ago 57
2 Performance Lab Performance Lab Performance plugin from the WordPress Performance Team, which is a collection of standalone… by WordPress Performance Team 100K+ ★★★★★★★★★★ 4.3 (51) 3 months ago 83
4 CompressX — AVIF & WebP Converter, Media Replacement CompressX — AVIF & WebP Converter, Media Replacement AVIF & WebP converter with built-in media replacement for local image optimization. by CompressX 40K+ ★★★★★★★★★★ 5 (202) 2 months ago 91
5 Image Prioritizer Image Prioritizer Prioritizes the loading of images and videos based on how they appear to actual visitors… by WordPress Performance Team 40K+ ★★★★★★★★★★ 5 (1) 3 months ago 75
6 Flying Pages: Preload Pages for Faster Navigation & Improved User Experience Flying Pages: Preload Pages for Faster Navigation & Improve… Preload pages intelligently to boost site speed and enhance user experience by loading… by Gijo Varghese 10K+ ★★★★★★★★★★ 4.9 (79) 7 months ago 69
7 WP Meteor Website Speed Optimization Addon WP Meteor Website Speed Optimization Addon 2x-5x improvement in your Page Speed score. A completely new way of optimizing your page… by Aleksandr Guidrevitch 10K+ ★★★★★★★★★★ 4.7 (77) 2 months ago 84
8 xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN xSpeed Cache: AI-Powered Performance Hub with MCP, Caching… A complete WordPress caching plugin: page cache, object cache, CDN, database cleanup and… by WPDeveloper 10K+ ★★★★★★★★★★ 5 (29) 21 hours ago 87
9 Delete Duplicate Posts Delete Duplicate Posts Get rid of duplicate posts and pages (any post type) on your blog with manual or automatic… by Lars Koudal 10K+ ★★★★★★★★★★ 4.8 (153) 2 months ago 89
10 PhastPress PhastPress PhastPress automatically optimizes your site for the best possible performance. by Albert Peschar 10K+ ★★★★★★★★★★ 4.9 (99) 7 days ago 90
11 Cimo – Free Instant Image Optimizer & WebP Converter Cimo – Free Instant Image Optimizer & WebP Converter Unlimited free image compression and WebP conversion, done instantly as you upload them. No… by Benjamin Intal 10K+ ★★★★★★★★★★ 4.9 (20) 2 months ago 83

FAQ

Optimization Detective: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Optimization Detective free?

Yes. Optimization Detective is free to download and use from the official WordPress.org plugin directory.

Is Optimization Detective safe to use in 2026?

Optimization Detective is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50K+ sites, is rated 4.3/5 and was last updated 3 months ago, and scores 69/100 on our health check.

How many websites use Optimization Detective?

Optimization Detective is active on 50K+ WordPress websites and has been downloaded 522,070 times since it launched in March 2024. It was downloaded 10,854 times in the last 30 days.

Does Optimization Detective work with WordPress 7.1?

Yes. The developer has tested Optimization Detective up to WordPress 7.1.5, the latest release. It requires WordPress 6.9 or newer.

What PHP version does Optimization Detective need?

Optimization Detective requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Optimization Detective last updated?

The latest version, 1.0.0-beta7, was released on August 26, 2026 (3 months ago).

Who makes Optimization Detective?

Optimization Detective is developed and maintained by WordPress Performance Team.

What are the best alternatives to Optimization Detective?

The most popular alternatives to Optimization Detective are AMP (300K+ installs), Performance Lab (100K+ installs) and CompressX (40K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open