Descripció
-
Image Placeholders -
Modern Image Formats -
Performant Translations -
Speculative Loading -
Embed Optimizer (experimental) -
Enhanced Responsive Images (experimental) -
Image Prioritizer (experimental)
Instal·lació
Instal·lació des de WordPress
-
Visiteu extensions > afegiu-ne de nous . -
Cerca Performance Lab . -
Instal·leu i activeu l’extensió Performance Lab.
Instal·lació manual
-
Pugeu tota performance-lab la carpeta al /wp-content/extensions/ directori. -
Visiteu extensions . -
Activeu l’extensió Performance Lab.
Després de l’activació
-
Visiteu el nou menú Paràmetres > rendiment . -
Enable the individual features you would like to use.
PMF
-
Quin és l’objectiu d’aquesta extensió? -
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. -
Puc utilitzar aquesta extensió al meu lloc de producció? -
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. -
On puc enviar els meus comentaris sobre l’extensió? -
Els comentaris són encoratjats i molt apreciats, sobretot perquè aquesta extensió és una col·lecció de futures funcions bàsiques de WordPress. Si teniu suggeriments o sol·licituds de noves funcionalitats, podeu enviar-les com a problema al repositori de GitHub del Performance Lab . Si necessiteu ajuda amb la resolució de problemes o teniu alguna pregunta sobre l’extensió, creeu un tema nou al nostre fòrum de suport . -
On puc informar d’errors de seguretat? -
L’equip de rendiment i la comunitat del WordPress es prenen seriosament els errors de seguretat. Agraïm els vostres esforços per divulgar de manera responsable les vostres troballes i farem tot el possible per a reconèixer les vostres contribucions. Per informar d’un problema de seguretat, visiteu el programa WordPress HackerOne . -
Com puc contribuir amb l’extensió? -
Les contribucions sempre són benvingudes! Obteniu més informació sobre com podeu participar en el manual de l’equip de rendiment principal .
Ressenyes
Col·laboradors i desenvolupadors
Interessats en el desenvolupament?
Registre de canvis
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
-
Infraestructura: afegeix la casella de selecció de memòria intermèdia de sortida a la pantalla temps del servidor. ( eight hundred and one ) -
Infraestructura: implementa lògica per mesurar el temps d’execució específic del ganxo amb el temps del servidor controlat per una pantalla d’administració de WP. ( seven hundred and eighty-four )
-
Images: Fix incorrect function prefixes in Image Placeholders. ( seven hundred and eighty-nine ) -
Infraestructura: afegeix clàusules de sortida anticipada als expedients amb codi de procediment. ( seven hundred and ninety ) -
Infraestructura: permet desactivar completament el temps del servidor mitjançant PERFLAB_DISABLE_SERVER_TIMING constant. ( seven hundred and ninety-five )
-
Imatges: corregeix el gestor de WebP quan editeu imatges basades en el canvi del WordPress 6.3. ( seven hundred and ninety-six ) -
Infraestructura: corregiu els errors detectats per l’extensió Checker. ( seven hundred and eighty-eight )
2.5.0
-
Imatges: comprova que la funció fetchpriority estigui disponible al nucli de WordPress abans de carregar el mòdul. ( seven hundred and sixty-nine ) -
Optimització de bases de dades: suprimiu el mòdul SQLite. ( seven hundred and sixty-four ) -
Infraestructura: augment provat fins a la versió 6.3. ( seven hundred and seventy-two )
2.4.0
-
Base de dades: implementa el missatge de migració per migrar del mòdul SQLite a l’extensió independent a causa de l’eliminació a la versió següent. ( seven hundred and thirty-nine ) -
Infraestructura: millora la qualitat del codi afegint PHPStan i solucionant problemes de nivell 0. ( seven hundred and thirty ) -
Infraestructura: utilitza tancaments estàtics per millorar el rendiment menor sempre que no sigui necessari l’accés a la instància. ( seven hundred and twenty-nine )
-
Base de dades: corregeix la rutina de desactivació del mòdul SQLite per fer que la migració independent de l’extensió funcioni correctament. ( seven hundred and forty-three ) -
Infraestructura: fa la capçalera Server-Timing més robusta. ( seven hundred and thirty-six )
2.3.0
-
Imatges: configura Dominant Color i Fetchpriority mòduls per les seves extensions independents. ( seven hundred and four ) -
Infrastructure: Temporarily remove Image Placeholders from standalone plugins.json definition. ( seven hundred and nineteen ) -
Infraestructura: utilitza la versió dinàmica de per al flux de extensions.json treball manual. ( seven hundred and ten )
-
Imatges: afegeix un estil de color dominant abans que qualsevol atribut d’estil en línia existent. ( seven hundred and sixteen ) -
Infraestructura: resol avís de seguretat de baixa severitat GHSA-66qq-69rw-6×63 .
2.2.0
-
Imatges: suprimeix l’indicador “experimental” del mòdul Fetchpriority ( seven hundred and two ) -
Infrastructure: Implement infrastructure for launching standalone plugins from modules, including Modern Image Formats. ( six hundred and ninety-nine ) -
Infraestructura: inclou regles WordPress-Extra a la configuració de PHPCS i soluciona els problemes resultants. ( six hundred and ninety-five )
-
Imatges: saneja el paràmetre objectiu abans d’utilitzar-lo. ( six hundred and ninety )
-
Imatges: canvia el mòdul àlies/directori de dominant-color a dominant-color-images . ( seven hundred and eight ) -
Imatges: canvia el nom Dominant Color del mòdul a 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 )
-
Infraestructura: soluciona els problemes relacionats amb la col·locació object-memòria cau.php d’entrada. ( 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
-
Salut del lloc: només es carrega l’estat del lloc comprova si hi ha memòria cau persistent i memòria cau de pàgina completa quan no està disponible al nucli. ( 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 ) -
Infraestructura: augmenta el requisit mínim de WordPress a 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 ) -
Imatges: introducció webp_uploads_get_content_image_mimes() per obtenir contingut de la imatge MIME regles de substitució. ( 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 ) -
Imatges: permet controlar quines mides d’imatge generen versions addicionals de tipus MIME. ( 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 ) -
Salut del lloc: enllaç d’actualització de la documentació per a les opcions carregades automàticament. ( 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 )
-
Imatges: filtre d’actualització webp_uploads_pre_generate_additional_image_source per permetre retornar la mida del fitxer. ( 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 ) -
Salut del lloc: Actualitza l’enllaç de documentació d’opcions carregades automàticament de la salut del lloc. ( 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
-
Imatges: canvia l’ordre esperat dels elements del webp_uploads_content_image_mimes filtre. ( two hundred and fifty ) -
Images: Replace images in frontend content without using an additional regular expression. ( two hundred and sixty-two ) -
Images: Restore and backup image sizes alongside the sources properties. ( two hundred and forty-two )
-
Images: Select image editor based on WebP support instead of always using the default one. ( two hundred and fifty-nine )
1.0.0-beta.3
-
Infrastructure: Ensure default modules are loaded regardless of setting registration. ( two hundred and forty-eight )
1.0.0-beta.2
-
Images: Create additional MIME types for the full size image. ( one hundred and ninety-four ) -
Site Health: Add module to warn about excessive amount of autoloaded options. ( one hundred and twenty-four )
-
Imatges: afegeix informació de fonts als detalls dels mèdia adjunts de la resposta REST. ( two hundred and twenty-four ) -
Imatges: permet als desenvolupadors seleccionar quin format d’imatge voleu utilitzar per a les imatges del contingut. ( two hundred and thirty ) -
Images: Allow developers to tweak which image formats to generate on upload. ( two hundred and twenty-seven ) -
Images: Replace the full size image in the_content with additional MIME type if available. ( one hundred and ninety-five ) -
Memòria cau d’objectes: inclou memcached l’extensió a les comprovacions de compatibilitat amb la memòria cau d’objectes. ( two hundred and six ) -
Infrastructure: Add plugin banner and icon assets. ( two hundred and thirty-one ) -
Infrastructure: Use .gitattributes instead of .distignore to better support ZIP creation. ( two hundred and twenty-three )
-
Images: Use original image to generate all additional image format sub-sizes. ( two hundred and seven ) -
Infrastructure: Replace unreliable activation hook with default value for enabled modules. ( two hundred and twenty-two )
-
Infrastructure: Update release instructions to include proper branching strategy and protect release branches. ( two hundred and twenty-one )
1.0.0-beta.1
-
Images: Add WebP for uploads module. ( thirty-two ) -
Imatges: admet mecanismes de reintent per generar submides en tipus MIME addicionals en entorns restringits. ( one hundred and eighty-eight ) -
Images: Update the_content with the appropriate image format. ( one hundred and fifty-two ) -
Site Health: Add WebP support in site health. ( one hundred and forty-one ) -
Site Health: Add module to alert about excessive JS and CSS assets. ( fifty-four ) -
Object Cache: Add Site Health check module for persistent object cache. ( one hundred and eleven ) -
Infrastructure: Add settings screen to toggle modules. ( thirty ) -
Infraestructura: afegit punter d’administrador. ( 199)
-
Memòria cau d’objectes: recomana sempre la memòria cau d’objectes al multilloc. ( two hundred ) -
Images: Create image sub-sizes in additional MIME types using sources for storage. ( one hundred and forty-seven ) -
Images: Update module directories to be within their focus directory. ( fifty-eight ) -
Site Health: Enhance detection of enqueued frontend assets. ( one hundred and thirty-six ) -
Infrastructure: Add link to Settings screen to the plugin’s entry in plugins list table. ( one hundred and ninety-seven ) -
Infrastructure: Enable all non-experimental modules on plugin activation. ( one hundred and ninety-one ) -
Infrastructure: Include generated module-i18n.php file in repository. ( one hundred and ninety-six ) -
Infrastructure: Introduce perflab_active_modules filter to control which modules are active. ( eighty-seven ) -
Infrastructure: Remove unnecessary question marks from checkbox labels. ( one hundred and ten ) -
Infrastructure: Rename object-caching to object-cache . ( one hundred and eight )
-
Images: Ensure the -scaled image remains in the original uploaded format. ( one hundred and forty-three ) -
Images: Fix typo to access to the correct image properties. ( two hundred and three ) -
Infrastructure: Ensure that module header fields can be translated. ( sixty )
-
Salut del lloc: marca com a experimental, per ara, el mòdul d’auditoria de recursos en cua de la salut del lloc. ( two hundred and five ) -
Infraestructura: afegeix readme.txt un script d’actualització i un altre. ( seventy-two ) -
Infrastructure: Add changelog generator script. ( fifty-one ) -
Infraestructura: afegeix documentació de cotització. ( forty-seven ) -
Infraestructura: afegeix documentació de la versió. ( one hundred and thirty-eight ) -
Infrastructure: Define module specification in documentation. ( twenty-six )