Descripción
-
Image Placeholders -
Modern Image Formats -
Performant Translations -
Speculative Loading -
Embed Optimizer (experimental) -
Enhanced Responsive Images (experimental) -
Image Prioritizer (experimental)
Instalación
Instalación desde WordPress
-
Visita Plugins > Añadir nuevo . -
Busca Performance Lab . -
Instala y activa el plugin Performance Lab.
Instalación manual
-
Sube el contenido completo de la carpeta performance-lab al directorio /wp-content/plugins/ . -
Visita Plugins . -
Activa el plugin Performance Lab.
Después de la activación
-
Visita el nuevo menú Ajustes > Rendimiento . -
Enable the individual features you would like to use.
Preguntas frecuentes
-
¿Cuál es el propósito de este plugin? -
The primary purpose of the Performance Lab plugin is to allow testing of various performance features for which the goal is to eventually land in WordPress core. It is essentially a collection of «feature plugins», which makes it different from other performance plugins that offer performance features which are not targeted at WordPress core and potentially rely on functionality that would not be feasible to use in WordPress core. The list of available features will regularly change: Existing features may be removed after they have been released in WordPress core, while new features may be added in any release. -
¿Puedo usar este plugin en mi sitio en producción? -
Per the primary purpose of the plugin (see above), it can mostly be considered a beta testing plugin for the various performance features it includes. However, it’s essential to understand that utilizing it comes with inherent risks. Users are encouraged to proceed with caution and understand that they are doing so at their own risk. -
¿Dónde puedo enviar mis comentarios sobre el plugin? -
Feedback is encouraged and much appreciated, especially since this plugin is a collection of future WordPress core features. If you have suggestions or requests for new features, you can submit them as an issue in the Performance Lab GitHub repository . If you need help with troubleshooting or have a question about the plugin, please create a new topic on our support forum . -
Where can I report security bugs? -
The Performance team and WordPress community take security bugs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions. To report a security issue, please visit the WordPress HackerOne program. -
¿Cómo puedo colaborar con el plugin? -
Contributions are always welcome! Learn more about how to get involved in the Core Performance Team Handbook .
Reseñas
Colaboradores y desarrolladores
¿Interesado en el desarrollo?
Registro de cambios
3.4.1
-
Fix Incorrect use of _n(). ( one thousand four hundred and ninety-one )
3.4.0
-
Remove Server-Timing metric for the autoloaded options query time. ( one thousand four hundred and fifty-six )
-
Avoid sending Server-Timing header when buffer is being cleaned. ( one thousand four hundred and forty-three ) -
Fix disabled options from reappearing in Site Health after external update. ( one thousand three hundred and seventy-four ) -
Improve Performance screen when external requests to WordPress.org fail. ( one thousand four hundred and seventy-four )
3.3.1
-
Add PHPStan strict rules (except for empty.notAllowed). ( one thousand two hundred and forty-one )
-
Allow null to be passed into perflab_admin_pointer(). ( one thousand three hundred and ninety-three )
3.3.0
-
Bump minimum WP versions and WP version tested up to. ( one thousand three hundred and thirty-three ) -
Improve message for WebP site health test. ( one thousand two hundred and forty-nine ) -
Remove ‘Requires at least’ and ‘Requires PHP’ from plugin readmes. ( one thousand three hundred and thirty-four ) -
Upgrade PHPStan to 1.11.6. ( one thousand three hundred and twenty-five )
-
Extend core’s Autoloaded Options Site Health test if present (in WP 6.6). ( one thousand two hundred and ninety-eight ) -
Fix unit tests for multisite. ( one thousand three hundred and twenty-seven )
3.2.0
-
Add install note after each PerfLab feature plugin in the plugin list table. ( one thousand two hundred and sixty-five ) -
Update plugins with new banners and icons. ( one thousand two hundred and seventy-two )
-
Fix Server-Timing compatibility with other plugins that do output buffering. ( one thousand two hundred and sixty ) -
Harden autoloaded-options site health test for incorrectly implemented external object cache plugins. ( one thousand two hundred and thirty-eight )
3.1.0
-
Add progress indicator when activating a feature. ( one thousand one hundred and ninety ) -
Display plugin settings links in the features screen and fix responsive layout for mobile. ( one thousand two hundred and eight ) -
Add plugin dependency support for activating performance features. ( one thousand one hundred and eighty-four ) -
Add support for AVIF image format in site health. ( one thousand one hundred and seventy-seven ) -
Add server timing to REST API response. ( one thousand two hundred and six ) -
Bump minimum PHP requirement to 7.2. ( one thousand one hundred and thirty ) -
Refine logic in perflab_install_activate_plugin_callback() to rely only on validated slug. ( one thousand one hundred and seventy ) -
Improve overall code quality with stricter static analysis checks. ( seven hundred and seventy-five )
-
Avoid passing incomplete data to perflab_render_plugin_card() and show error when plugin directory API query fails. ( one thousand one hundred and seventy-five ) -
Do not show admin pointer on the Performance screen and dismiss the pointer when visited. ( one thousand one hundred and forty-seven ) -
Fix WordPress.DB.DirectDatabaseQuery.DirectQuery warning for Autoloaded Options Health Check. ( one thousand one hundred and seventy-nine )
3.0.0
-
Add caching to the wordpress.org query to get plugin information. ( one thousand and twenty-two ) -
Add support for autoloading enhancements in WordPress 6.6 trunk to autoloaded options Site Health check. ( one thousand one hundred and twelve ) -
Bump minimum required WordPress version to 6.4. ( one thousand and sixty-two ) -
Enhance object-cache.php drop-in placement logic to support updating to a newer version of the file. ( one thousand and forty-seven ) -
Implement support for annotating certain plugins as experimental. ( one thousand one hundred and eleven ) -
Migrate Site Health checks from being modules to becoming part of the plugin core. ( one thousand and forty-two ) -
Remove modules infrastructure and UI from the plugin. ( one thousand and sixty ) -
Support changing autoload value for largest autoloaded options in Site Health check. ( one thousand and forty-eight ) -
Use plugin slug for generator tag. ( one thousand one hundred and three )
-
Update tested WordPress version to 6.5. ( one thousand and twenty-seven )
2.9.0
-
Infrastructure: Add standalone plugin version constants for auto-sizes and speculation-rules. ( nine hundred and fifty-eight )
-
Infrastructure: Include standalone plugin slugs in generator tag. ( nine hundred and forty-nine )
-
Infrastructure: Sanitize metric name for Server-Timing header. ( nine hundred and fifty-seven )
2.8.0
-
Infrastructure: Introduce UI for managing Performance Lab standalone plugins. ( eight hundred and sixty-four )
-
Infrastructure: Add support for plugin live preview in the plugin directory. ( eight hundred and ninety ) -
Infrastructure: Allow module can-load.php callbacks to return a WP_Error with more information. ( eight hundred and ninety-one ) -
Infrastructure: Implement admin pointer to indicate to the user they need to migrate modules to their standalone plugins. ( nine hundred and ten ) -
Infrastructure: Implement migration logic and UI from Performance Lab modules to their standalone plugins. ( eight hundred and ninety-nine ) -
Infrastructure: Reset admin pointer dismissal for module migration when the user activates a module. ( nine hundred and fifteen )
-
Infrastructure: Fix construction of translation strings in admin/plugins.php. ( nine hundred and twenty-five )
2.7.0
-
Images: Remove Fetchpriority module as the functionality is now available in WordPress core. ( eight hundred and fifty-four ) -
Infrastructure: Bump minimum required PHP version to 7.0 and minimum required WP version to 6.3. ( eight hundred and fifty-one )
-
Infrastructure: Publish Image Placeholders standalone plugin. ( eight hundred and forty-two )
2.6.1
-
Infrastructure: Remove PHPStan config file from plugin directory. ( eight hundred and sixteen )
-
Infrastructure: Add standalone plugin assets. ( eight hundred and fifteen )
2.6.0
-
Infrastructure: Add output buffering checkbox to Server-Timing screen. ( eight hundred and one ) -
Infrastructure: Implement logic to measure specific hook execution time with Server-Timing controlled by a WP Admin screen. ( seven hundred and eighty-four )
-
Images: Fix incorrect function prefixes in Image Placeholders. ( seven hundred and eighty-nine ) -
Infrastructure: Add early exit clauses to files with procedural code. ( seven hundred and ninety ) -
Infrastructure: Allow disabling Server-Timing entirely using PERFLAB_DISABLE_SERVER_TIMING constant. ( seven hundred and ninety-five )
-
Images: Fix WebP handling when editing images based on WordPress 6.3 change. ( seven hundred and ninety-six ) -
Infrastructure: Fix errors detected by Plugin Checker. ( seven hundred and eighty-eight )
2.5.0
-
Images: Check for fetchpriority feature being available in WordPress core before loading the module. ( seven hundred and sixty-nine ) -
Database Optimization: Remove SQLite module. ( seven hundred and sixty-four ) -
Infrastructure: Bump tested up to version to 6.3. ( seven hundred and seventy-two )
2.4.0
-
Database: Implement migration prompt to migrate from SQLite module to standalone plugin due to removal in the following release. ( seven hundred and thirty-nine ) -
Infrastructure: Enhance code quality by adding PHPStan and fixing level 0 issues. ( seven hundred and thirty ) -
Infrastructure: Use static closures for minor performance improvement whenever instance access is not needed. ( seven hundred and twenty-nine )
-
Database: Fix SQLite module deactivation routine to make standalone plugin migration work correctly. ( seven hundred and forty-three ) -
Infrastructure: Make Server-Timing header output more robust. ( seven hundred and thirty-six )
2.3.0
-
Images: Configure Dominant Color and Fetchpriority modules for their standalone plugins. ( seven hundred and four ) -
Infrastructure: Temporarily remove Image Placeholders from standalone plugins.json definition. ( seven hundred and nineteen ) -
Infrastructure: Use dynamic version from plugins.json for manual workflow. ( seven hundred and ten )
-
Images: Add dominant color styling before any existing inline style attributes. ( seven hundred and sixteen ) -
Infrastructure: Resolve low-severity security advisory GHSA-66qq-69rw-6×63 .
2.2.0
-
Images: Remove «experimental» flag from Fetchpriority module. ( seven hundred and two ) -
Infrastructure: Implement infrastructure for launching standalone plugins from modules, including Modern Image Formats. ( six hundred and ninety-nine ) -
Infrastructure: Include WordPress-Extra rules in PHPCS configuration and fix resulting problems. ( six hundred and ninety-five )
-
Images: Sanitize target param before using it. ( six hundred and ninety )
-
Images: Change module slug/directory from dominant-color to dominant-color-images . ( seven hundred and eight ) -
Images: Rename Dominant Color module to Dominant Color images . ( seven hundred and five )
2.1.0
-
Infrastructure: Add wp-total metric to default Server-Timing metrics. ( six hundred and sixty-nine ) -
Infrastructure: Ensure module load.php files really only load other code to prevent conflicts in standalone plugins. ( six hundred and seventy-four )
-
Infrastructure: Fix problems with placing object-cache.php drop-in. ( six hundred and seventy-two )
2.0.0
-
Object Cache: Update WordPress version to 6.1 and remove Cache modules. ( six hundred and forty-one ) -
Measurement: Add perflab_disable_object_cache_dropin filter. ( six hundred and twenty-nine ) -
Database: Add an indicator in the adminbar to show when using SQLite. ( six hundred and four )
-
Images: Check for existing $metadata['sizes'] to fix PHP warning. ( six hundred and forty-eight ) -
Images: Use correct number of arguments in filter callback. ( six hundred and thirty-four ) -
Database: Fix invalid docs and return types as highlighted by static analysis. ( six hundred and forty-five ) -
Infrastructure: Fix incorrect usage of plugin_action_links_* filter. ( six hundred and forty-seven )
-
Infrastructure: Add file header to object-cache drop-in to clarify purpose. ( six hundred and forty-nine )
1.9.0
-
Database: Remove warning about multi-server environment from the SQLite module description. ( six hundred and nineteen )
-
Infrastructure: Enhance object-cache.php drop-in interoperability with other plugins. ( six hundred and sixteen )
1.8.0
-
Measurement: Implement Server-Timing API foundation as well as basic load time metrics. ( five hundred and fifty-three ) -
Database: Implement new experimental SQLite integration module. ( five hundred and forty-seven ) -
Images: Implement new experimental fetchpriority module. ( five hundred and twenty-eight )
-
Database: Fix SQLite notices related to undefined properties. ( six hundred ) -
Database: Fix incorrect handling of admin_email and actual admin user’s email when original admin_email user was deleted. ( six hundred and three ) -
Database: Make WP filesystem setup more robust to prevent potential errors. ( five hundred and ninety-five )
1.7.0
-
Images: Change WP Image editor quality for mime types. ( five hundred and seventy-one ) -
Infrastructure: Introduce database focus area, rename JavaScript focus area to JS & CSS, and phase out Site Health focus area. ( five hundred and sixty-six )
-
Images: Avoid potentially adding invalid attributes or duplicates for dominant color images. ( five hundred and seventy-eight ) -
Images: Fix fatal error in REST API response when an image has no attachment metadata. ( five hundred and sixty-eight ) -
Images: Fix image focal point bug when dominant color is enabled by not overriding style attribute. ( five hundred and eighty-two ) -
Images: Fix opt-in checkbox for generating WebP and JPEG to also show on Multisite. ( five hundred and sixty-five )
1.6.0
-
Site Health: Only load Site Health checks for persistent cache and full page cache when not available in core. ( five hundred and forty-three ) -
Images: Add checkbox to Settings > Media to control whether to generate JPEG in addition to WebP. ( five hundred and thirty-seven ) -
Images: Generate only WebP images by default for JPEG and WebP uploads. ( five hundred and twenty-seven ) -
Infrastructure: Bump minimum WordPress requirement to 6.0. ( five hundred and forty-nine )
1.5.0
-
Site Health: Improve autoloaded options check by highlighting largest autoloaded options. ( three hundred and fifty-three )
1.4.0
-
Images: Enhance JS replacement mechanism for WebP to JPEG to more reliably replace full file name. ( four hundred and forty-three ) -
Images: Introduce webp_uploads_get_content_image_mimes() to get content image MIME replacement rules. ( four hundred and twenty ) -
Infrastructure: Add PERFLAB_PLUGIN_DIR_PATH constant for plugin_dir_path() . ( four hundred and twenty-nine ) -
Infrastructure: Rename Site Health check modules for language and consistency. ( four hundred and twenty-three )
-
Site Health: Fix incorrect usage of badge colors in all Site Health checks. ( four hundred and seventy-two ) -
Images: Add the original image’s extension to the WebP file name to ensure it is unique. ( four hundred and forty-four ) -
Images: Fix REST API support for plain permalinks. ( four hundred and fifty-seven ) -
Infrastructure: Remove plugin option network-wide for Multisite during uninstall. ( four hundred and fifty-eight )
1.3.0
-
Images: Add replacing of images only in frontend context. ( four hundred and twenty-four ) -
Images: Allow control for which image sizes to generate additional MIME type versions. ( four hundred and fifteen ) -
Images: Discard WebP image if it is larger than corresponding JPEG image. ( four hundred and eighteen ) -
Images: Optimize computing dominant color and transparency for images by combining the two functions. ( three hundred and eighty-one ) -
Images: Provide fallback JPEG images in frontend when WebP is not supported by the browser. ( three hundred and sixty ) -
Images: Rely on wp_get_image_editor() methods argument to check whether it supports dominant color methods. ( four hundred and four ) -
Images: Remove experimental label from Dominant Color module and turn on by default for new installs. ( four hundred and twenty-five ) -
Site Health: Remove perflab_aea_get_resource_file_size() in favor of wp_filesize() . ( three hundred and eighty ) -
Site Health: Update documentation link for autoloaded options. ( four hundred and eight ) -
Infrastructure: Implement mechanism to not load module if core version is available. ( three hundred and ninety )
-
Images: Ensure incorrect usage of webp_uploads_upload_image_mime_transforms filter is treated correctly. ( three hundred and ninety-three ) -
Images: Fix PHP notice and bug in logic for when webp_uploads_prefer_smaller_image_file filter is set to true . ( three hundred and ninety-seven ) -
Images: Fix an infinite loop in the WebP fallback mechanism. ( four hundred and thirty-three ) -
Images: Fix dominant color upload process to not override potential third-party editors. ( four hundred and one ) -
Images: Remove additional image backup sources & sizes files when attachment deleted. ( four hundred and eleven ) -
Infrastructure: Avoid including .husky directory in plugin ZIP. ( four hundred and twenty-one ) -
Infrastructure: Do not show admin pointer in multisite Network Admin. ( three hundred and ninety-four )
1.2.0
-
Images: Add Dominant Color module to provide color background for loading images. ( two hundred and eighty-two ) -
Site Health: Add Site Health check for Full Page Cache usage. ( two hundred and sixty-three )
-
Images: Update webp_uploads_pre_generate_additional_image_source filter to allow returning file size. ( three hundred and thirty-four ) -
Infrastructure: Introduce plugin uninstaller routine. ( three hundred and forty-five ) -
Infrastructure: Use wp_filesize instead of filesize if available. ( three hundred and seventy-six )
-
Images: Avoid overwriting existing WebP files when creating WebP images. ( three hundred and fifty-nine ) -
Images: Back up edited full image sources when restoring the original image. ( three hundred and fourteen )
1.1.0
-
Infrastructure: Add Performance Lab generator meta tag to wp_head output. ( three hundred and twenty-two )
-
Images: Introduce filter webp_uploads_pre_generate_additional_image_source to short-circuit generating additional image sources on upload. ( three hundred and eighteen ) -
Images: Introduce filter webp_uploads_pre_replace_additional_image_source to short-circuit replacing additional image sources in frontend content. ( three hundred and nineteen ) -
Images: Refine logic to select smaller image file in the frontend based on webp_uploads_prefer_smaller_image_file filter. ( three hundred and two ) -
Images: Replace the featured image with WebP version when available. ( three hundred and sixteen ) -
Site Health: Update Site Health Autoloaded options documentation link. ( three hundred and thirteen ) -
Infrastructure: Avoid unnecessarily early escape of Site Health check labels. ( three hundred and thirty-two )
-
Object Cache: Correct label for persistent object cache Site Health check. ( three hundred and twenty-nine ) -
Images: Only update the specified target images when an image is edited. ( three hundred and one )
1.0.0
-
Images: Generate secondary image MIME types when editing original image. ( two hundred and thirty-five )
-
Images: Introduce webp_uploads_prefer_smaller_image_file filter allowing to opt in to preferring the smaller image file. ( two hundred and eighty-seven ) -
Images: Select MIME type to use in frontend content based on file size. ( two hundred and forty-three ) -
Site Health: Update Site Health reports copy for more clarity and consistency. ( two hundred and seventy-two )
-
Infrastructure: Define the plugin’s version support and backward compatibility policy. ( two hundred and forty )
1.0.0-rc.1
-
Imágenes: Cambiar el orden esperado de los elementos en el filtro webp_uploads_content_image_mimes . ( two hundred and fifty ) -
Imágenes: Reemplazar las imágenes en el contenido de la vista pública sin usar una expresión regular adicional. ( two hundred and sixty-two ) -
Imágenes: Restauración y copia de seguridad de los tamaños de las imágenes junto a las propiedades de las fuentes. ( two hundred and forty-two )
-
Imágenes: Seleccionar el editor de imágenes basado en la compatibilidad con WebP en lugar de usar siempre el predeterminado. ( two hundred and fifty-nine )
1.0.0-beta.3
-
Infraestructura: Asegurar que se cargan los módulos por defecto independientemente del ajuste del registro. ( two hundred and forty-eight )
1.0.0-beta.2
-
Imágenes: Crear tipos MIME adicionales para la imagen de tamaño completo. ( one hundred and ninety-four ) -
Salud del sitio: Añade un módulo para advertir sobre la cantidad excesiva de opciones cargadas automáticamente. ( one hundred and twenty-four )
-
Imágenes: Añade información de las fuentes a los detalles de los medios adjuntos de la respuesta REST. ( two hundred and twenty-four ) -
Imágenes: Permite a los desarrolladores seleccionar qué formato de imagen utilizar para las imágenes del contenido. ( two hundred and thirty ) -
Imágenes: Permitir a los desarrolladores ajustar los formatos de imagen que se generarán al subirlas. ( two hundred and twenty-seven ) -
Imágenes: Reemplaza la imagen de tamaño completo en the_content con el tipo MIME adicional, si está disponible. ( one hundred and ninety-five ) -
Caché de objetos: Incluir la extensión memcached en las comprobaciones para la compatibilidad con la caché de objetos. ( two hundred and six ) -
Infraestructura: Añadir el banner del plugin y los recursos de iconos. ( two hundred and thirty-one ) -
Infraestructura: Usar .gitattributes en lugar de .distignore para dar mejor compatibilidad a la creación de archivos ZIP. ( two hundred and twenty-three )
-
Imágenes: Utiliza la imagen original para generar todos los subtamaños de formato de imagen adicionales. ( two hundred and seven ) -
Infraestructura: Sustituir el gancho de activación no fiable por el valor por defecto para los módulos activados. ( two hundred and twenty-two )
-
Infraestructura: Actualizar las instrucciones de lanzamiento para incluir una estrategia de ramificación adecuada y proteger las ramas de lanzamiento. ( two hundred and twenty-one )
1.0.0-beta.1
-
Imágenes: Añadir WebP para el módulo de subidas. ( thirty-two ) -
Imágenes: Compatibilidad con el mecanismo de reintento para generar subtamaños en tipos MIME adicionales en entornos restringidos. ( one hundred and eighty-eight ) -
Images: Update the_content with the appropriate image format. ( one hundred and fifty-two ) -
Salud del sitio: Añadir compatibilidad para WebP en la salud del sitio. ( one hundred and forty-one ) -
Salud del sitio: Añadir un módulo para alertar sobre el exceso de recursos JS y CSS. ( fifty-four ) -
Caché de objetos: Añadir el módulo de comprobación de la salud del sitio para la caché de objetos persistente. ( one hundred and eleven ) -
Infraestructura: Añadir una pantalla de ajustes para alternar los módulos. ( thirty ) -
Infraestructura: Añadido una indicación para administración. ( one hundred and ninety-nine )
-
Caché de objetos: Recomendar siempre la caché de objetos en multisitios. ( two hundred ) -
Imagen: Crear subtamaños de imágenes en tipos MIME adicionales utilizando sources para su almacenamiento. ( one hundred and forty-seven ) -
Imágenes: Actualizar los directorios de los módulos para que estén dentro de su directorio de enfoque. ( fifty-eight ) -
Salud del sitio: Mejora de la detección de los recursos en cola de la vista pública. ( one hundred and thirty-six ) -
Infraestructura: Añadir un enlace a la pantalla de ajustes en el registro del plugin en la tabla de la lista de plugins. ( one hundred and ninety-seven ) -
Infraestructura: Activar todos los módulos no experimentales en la activación del plugin. ( one hundred and ninety-one ) -
Infraestructura: Incluir en el repositorio el archivo «module-i18n.php» generado. ( one hundred and ninety-six ) -
Infraestructura: Introducir el filtro perflab_active_modules para controlar qué módulos están activos. ( eighty-seven ) -
Infraestructura: Eliminar los signos de interrogación innecesarios de las etiquetas de las casillas de verificación. ( one hundred and ten ) -
Infraestructura: Renombrar object-caching como object-cache . ( one hundred and eight )
-
Imágenes: Asegurar que la imagen -scaled permanece en el formato original subido. ( one hundred and forty-three ) -
Imágenes: Corregir un error tipográfico para acceder a las propiedades correctas de la imagen. ( two hundred and three ) -
Infraestructura: Garantizar que los campos de la cabecera del módulo puedan ser traducidos. ( sixty )
-
Salud del sitio: Marcar como experimental, por el momento, el módulo de auditoría de recursos en cola de la salud del sitio. ( two hundred and five ) -
Infraestructura: Añadir el archivo readme.txt y el script de actualización correspondiente. ( seventy-two ) -
Infraestructura: Añadir un script generador del registro de cambios. ( fifty-one ) -
Infraestructura: Añadir documentación de contribución. ( forty-seven ) -
Infraestructura: Añadir documentación de la versión. ( one hundred and thirty-eight ) -
Infraestructura: Definir la especificación del módulo en la documentación. ( twenty-six )