Detetive de otimização
Provides a framework for leveraging real user metrics to detect optimizations for improving page performance.
Escolha sólida
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.
- Comprovado em escala em mais de 50 mil sites ativos
- Testado com as últimas WordPress (7.1)
- Muito poucos comentários até agora
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Optimization Detective stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| Otimização | #5 |
| execução | #46 |
| rum | #1 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
Divisão de classificação
★★★★★★★★★★ 4.3 from 3 reviews
About Optimization Detective
From the official readme · v1.0.0-beta7Descrição
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.
Instalação
Installation from the directory within WordPress
- Visit Plugins > Add New in the WordPress Admin.
- Search for Optimization Detective.
- Install and activate the Optimization Detective plugin.
Instalação manual
- 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. - Visit Plugins > Add New Plugin in the WordPress Admin.
- Click Upload Plugin
- Select the
optimization-detective.zipfile on your system from step 1 and click Install Now. - Click the Active Plugin button.
Log de Changes
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_paramerror. (2436) - Remove the deprecated constants along with the
deprecated.phpfile that contained them.
1.0.0-beta6
Segurança
- 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
idcould 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
Correções de bugs
- Prevent fatal error in
od_get_current_url_metrics_etag()when$wp_query->postsisnull. (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_metricsposts 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_collectionand class aliases and bump required OD version in Image Prioritizer. (1943)
Correções de bugs
- 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$queryarg 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 Lockedinstead of403 Forbidden. (1863) - De-duplicate logic between REST API and URL Metrics post type. (1867)
Correções de bugs
- 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
sessionStoragekey. (1911)
1.0.0-beta2
Enhancements
- Account for 64 KiB limit for sending beacon data. (1851)
- Add post ID for the
od_url_metricspost 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
IFRAMEto display HTML responses for REST API storage request failures in Site Health test. (1849)
Correções de bugs
- Prevent URL in
Linkheader from including invalid characters. (1802) - Prevent optimizing post previews by default. (1848)
Documentação
- Improve Optimization Detective documentation. (1782)
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Optimization Detective alternatives
Todos os plugins de otimização →FAQ
Optimization Detective: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: 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 520,649 times since it launched in March 2024. It was downloaded 10,645 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).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
