Performance Lab

Descripció

The Performance Lab plugin is a collection of features focused on enhancing performance of your site, most of which should eventually be merged into WordPress core. The plugin allows to individually enable and test the features to get their benefits before they become available in WordPress core, and to provide feedback to further improve the solutions.

Instal·lació

Instal·lació des de WordPress

  1. Visiteu extensions > afegiu-ne de nous.
  2. Cerca Performance Lab.
  3. Instal·leu i activeu l’extensió Performance Lab.

Instal·lació manual

  1. Pugeu tota performance-lab la carpeta al /wp-content/extensions/ directori.
  2. Visiteu extensions.
  3. Activeu l’extensió Performance Lab.

Després de l’activació

  1. Visiteu el nou menú Paràmetres > rendiment .
  2. 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

18 de gener de 2024 5 respostes
Got the BIG warning that you're breaking this plugin up into 3 different standalone plugins; because that's what users want... 3 more plugins to install. I played along and installed WebP Uploads. Uninstalled Performance. The outcome: nothing. No menu whatsoever for Webp settings. Uploaded an image, no webp conversion. If your goal was to waste my time... mission accomplished.

hmm

2 de novembre de 2023 1 resposta
pagespeed.web.dev says: Consider using the Performance Lab plug-in to automatically convert your JPEG uploads to the WebP format, if it is supported.But it's not true, this plugin is not converting anything (maybe I am missing something), but yeah, useless for me
26 de octubre de 2023 1 resposta
converting photos to .webp is very fast, everything works well and it's really great. Thank you.
23 de octubre de 2023 1 resposta
Performance Lab one of the greatest extensions developed by WordPress team. It's just makes your web site superfast with a few clicks. There's no deep settings or configurations. If you're not a developer and using WordPress simply blogging, you must have to install Performance Lab.
Llegiu totes les 35 ressenyes

Col·laboradors i desenvolupadors

«Performance Lab» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors

“Performance Lab” s'ha traduït a 20 configuracions regionals. Gràcies als traductors per les seves aportacions.

Traduïu «Performance Lab» a la vostra llengua.

Interessats en el desenvolupament?

Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.

Registre de canvis

3.0.0

Millores

  • Add caching to the wordpress.org query to get plugin information. (1022)
  • Add support for autoloading enhancements in WordPress 6.6 trunk to autoloaded options Site Health check. (1112)
  • Bump minimum required WordPress version to 6.4. (1062)
  • Enhance object-cache.php drop-in placement logic to support updating to a newer version of the file. (1047)
  • Implement support for annotating certain plugins as experimental. (1111)
  • Migrate Site Health checks from being modules to becoming part of the plugin core. (1042)
  • Remove modules infrastructure and UI from the plugin. (1060)
  • Support changing autoload value for largest autoloaded options in Site Health check. (1048)
  • Use plugin slug for generator tag. (1103)

Documentació

  • Update tested WordPress version to 6.5. (1027)

2.9.0

Característiques

  • Infrastructure: Add standalone plugin version constants for auto-sizes and speculation-rules. (958)

Millores

  • Infrastructure: Include standalone plugin slugs in generator tag. (949)

Correcció d’errors

  • Infrastructure: Sanitize metric name for Server-Timing header. (957)

2.8.0

Característiques

  • Infrastructure: Introduce UI for managing Performance Lab standalone plugins. (864)

Millores

  • Infrastructure: Add support for plugin live preview in the plugin directory. (890)
  • Infrastructure: Allow module can-load.php callbacks to return a WP_Error with more information. (891)
  • Infrastructure: Implement admin pointer to indicate to the user they need to migrate modules to their standalone plugins. (910)
  • Infrastructure: Implement migration logic and UI from Performance Lab modules to their standalone plugins. (899)
  • Infrastructure: Reset admin pointer dismissal for module migration when the user activates a module. (915)

Correcció d’errors

  • Infrastructure: Fix construction of translation strings in admin/plugins.php. (925)

2.7.0

Millores

  • Images: Remove Fetchpriority module as the functionality is now available in WordPress core. (854)
  • Infrastructure: Bump minimum required PHP version to 7.0 and minimum required WP version to 6.3. (851)

Documentació

  • Infrastructure: Publish Image Placeholders standalone plugin. (842)

2.6.1

Correcció d’errors

  • Infrastructure: Remove PHPStan config file from plugin directory. (816)

Documentació

  • Infrastructure: Add standalone plugin assets. (815)

2.6.0

Característiques

  • Infraestructura: afegeix la casella de selecció de memòria intermèdia de sortida a la pantalla temps del servidor. (801)
  • 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. (784)

Millores

  • Images: Fix incorrect function prefixes in Image Placeholders. (789)
  • Infraestructura: afegeix clàusules de sortida anticipada als expedients amb codi de procediment. (790)
  • Infraestructura: permet desactivar completament el temps del servidor mitjançant PERFLAB_DISABLE_SERVER_TIMING constant. (795)

Correcció d’errors

  • Imatges: corregeix el gestor de WebP quan editeu imatges basades en el canvi del WordPress 6.3. (796)
  • Infraestructura: corregiu els errors detectats per l’extensió Checker. (788)

2.5.0

Millores

  • Imatges: comprova que la funció fetchpriority estigui disponible al nucli de WordPress abans de carregar el mòdul. (769)
  • Optimització de bases de dades: suprimiu el mòdul SQLite. (764)
  • Infraestructura: augment provat fins a la versió 6.3. (772)

2.4.0

Millores

  • 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. (739)
  • Infraestructura: millora la qualitat del codi afegint PHPStan i solucionant problemes de nivell 0. (730)
  • Infraestructura: utilitza tancaments estàtics per millorar el rendiment menor sempre que no sigui necessari l’accés a la instància. (729)

Correcció d’errors

  • Base de dades: corregeix la rutina de desactivació del mòdul SQLite per fer que la migració independent de l’extensió funcioni correctament. (743)
  • Infraestructura: fa la capçalera Server-Timing més robusta. (736)

2.3.0

Millores

  • Imatges: configura Dominant Color i Fetchpriority mòduls per les seves extensions independents. (704)
  • Infrastructure: Temporarily remove Image Placeholders from standalone plugins.json definition. (719)
  • Infraestructura: utilitza la versió dinàmica de per al flux de extensions.json treball manual. (710)

Correcció d’errors

  • Imatges: afegeix un estil de color dominant abans que qualsevol atribut d’estil en línia existent. (716)
  • Infraestructura: resol avís de seguretat de baixa severitat GHSA-66qq-69rw-6×63.

2.2.0

Millores

  • Imatges: suprimeix l’indicador “experimental” del mòdul Fetchpriority (702)
  • Infrastructure: Implement infrastructure for launching standalone plugins from modules, including Modern Image Formats. (699)
  • Infraestructura: inclou regles WordPress-Extra a la configuració de PHPCS i soluciona els problemes resultants. (695)

Correcció d’errors

  • Imatges: saneja el paràmetre objectiu abans d’utilitzar-lo. (690)

Documentació

  • Imatges: canvia el mòdul àlies/directori de dominant-color a dominant-color-images. (708)
  • Imatges: canvia el nom Dominant Color del mòdul a Dominant Color images. (705)

2.1.0

Millores

  • Infrastructure: Add wp-total metric to default Server-Timing metrics. (669)
  • Infrastructure: Ensure module load.php files really only load other code to prevent conflicts in standalone plugins. (674)

Correcció d’errors

  • Infraestructura: soluciona els problemes relacionats amb la col·locació object-memòria cau.php d’entrada. (672)

2.0.0

Millores

  • Object Cache: Update WordPress version to 6.1 and remove Cache modules. (641)
  • Measurement: Add perflab_disable_object_cache_dropin filter. (629)
  • Database: Add an indicator in the adminbar to show when using SQLite. (604)

Correcció d’errors

  • Images: Check for existing $metadata['sizes'] to fix PHP warning. (648)
  • Images: Use correct number of arguments in filter callback. (634)
  • Database: Fix invalid docs and return types as highlighted by static analysis. (645)
  • Infrastructure: Fix incorrect usage of plugin_action_links_* filter. (647)

Documentació

  • Infrastructure: Add file header to object-cache drop-in to clarify purpose. (649)

1.9.0

Millores

  • Database: Remove warning about multi-server environment from the SQLite module description. (619)

Correcció d’errors

  • Infrastructure: Enhance object-cache.php drop-in interoperability with other plugins. (616)

1.8.0

Característiques

  • Measurement: Implement Server-Timing API foundation as well as basic load time metrics. (553)
  • Database: Implement new experimental SQLite integration module. (547)
  • Images: Implement new experimental fetchpriority module. (528)

Correcció d’errors

  • Database: Fix SQLite notices related to undefined properties. (600)
  • Database: Fix incorrect handling of admin_email and actual admin user’s email when original admin_email user was deleted. (603)
  • Database: Make WP filesystem setup more robust to prevent potential errors. (595)

1.7.0

Millores

  • Images: Change WP Image editor quality for mime types. (571)
  • Infrastructure: Introduce database focus area, rename JavaScript focus area to JS & CSS, and phase out Site Health focus area. (566)

Correcció d’errors

  • Images: Avoid potentially adding invalid attributes or duplicates for dominant color images. (578)
  • Images: Fix fatal error in REST API response when an image has no attachment metadata. (568)
  • Images: Fix image focal point bug when dominant color is enabled by not overriding style attribute. (582)
  • Images: Fix opt-in checkbox for generating WebP and JPEG to also show on Multisite. (565)

1.6.0

Millores

  • 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. (543)
  • Images: Add checkbox to Settings > Media to control whether to generate JPEG in addition to WebP. (537)
  • Images: Generate only WebP images by default for JPEG and WebP uploads. (527)
  • Infraestructura: augmenta el requisit mínim de WordPress a 6.0. (549)

1.5.0

Millores

  • Site Health: Improve autoloaded options check by highlighting largest autoloaded options. (353)

1.4.0

Millores

  • Images: Enhance JS replacement mechanism for WebP to JPEG to more reliably replace full file name. (443)
  • Imatges: introducció webp_uploads_get_content_image_mimes() per obtenir contingut de la imatge MIME regles de substitució. (420)
  • Infrastructure: Add PERFLAB_PLUGIN_DIR_PATH constant for plugin_dir_path(). (429)
  • Infrastructure: Rename Site Health check modules for language and consistency. (423)

Correcció d’errors

  • Site Health: Fix incorrect usage of badge colors in all Site Health checks. (472)
  • Images: Add the original image’s extension to the WebP file name to ensure it is unique. (444)
  • Images: Fix REST API support for plain permalinks. (457)
  • Infrastructure: Remove plugin option network-wide for Multisite during uninstall. (458)

1.3.0

Millores

  • Images: Add replacing of images only in frontend context. (424)
  • Imatges: permet controlar quines mides d’imatge generen versions addicionals de tipus MIME. (415)
  • Images: Discard WebP image if it is larger than corresponding JPEG image. (418)
  • Images: Optimize computing dominant color and transparency for images by combining the two functions. (381)
  • Images: Provide fallback JPEG images in frontend when WebP is not supported by the browser. (360)
  • Images: Rely on wp_get_image_editor() methods argument to check whether it supports dominant color methods. (404)
  • Images: Remove experimental label from Dominant Color module and turn on by default for new installs. (425)
  • Site Health: Remove perflab_aea_get_resource_file_size() in favor of wp_filesize(). (380)
  • Salut del lloc: enllaç d’actualització de la documentació per a les opcions carregades automàticament. (408)
  • Infrastructure: Implement mechanism to not load module if core version is available. (390)

Correcció d’errors

  • Images: Ensure incorrect usage of webp_uploads_upload_image_mime_transforms filter is treated correctly. (393)
  • Images: Fix PHP notice and bug in logic for when webp_uploads_prefer_smaller_image_file filter is set to true. (397)
  • Images: Fix an infinite loop in the WebP fallback mechanism. (433)
  • Images: Fix dominant color upload process to not override potential third-party editors. (401)
  • Images: Remove additional image backup sources & sizes files when attachment deleted. (411)
  • Infrastructure: Avoid including .husky directory in plugin ZIP. (421)
  • Infrastructure: Do not show admin pointer in multisite Network Admin. (394)

1.2.0

Característiques

  • Images: Add Dominant Color module to provide color background for loading images. (282)
  • Site Health: Add Site Health check for Full Page Cache usage. (263)

Millores

  • Imatges: filtre d’actualització webp_uploads_pre_generate_additional_image_source per permetre retornar la mida del fitxer. (334)
  • Infrastructure: Introduce plugin uninstaller routine. (345)
  • Infrastructure: Use wp_filesize instead of filesize if available. (376)

Correcció d’errors

  • Images: Avoid overwriting existing WebP files when creating WebP images. (359)
  • Images: Back up edited full image sources when restoring the original image. (314)

1.1.0

Característiques

  • Infrastructure: Add Performance Lab generator meta tag to wp_head output. (322)

Millores

  • Images: Introduce filter webp_uploads_pre_generate_additional_image_source to short-circuit generating additional image sources on upload. (318)
  • Images: Introduce filter webp_uploads_pre_replace_additional_image_source to short-circuit replacing additional image sources in frontend content. (319)
  • Images: Refine logic to select smaller image file in the frontend based on webp_uploads_prefer_smaller_image_file filter. (302)
  • Images: Replace the featured image with WebP version when available. (316)
  • Salut del lloc: Actualitza l’enllaç de documentació d’opcions carregades automàticament de la salut del lloc. (313)
  • Infrastructure: Avoid unnecessarily early escape of Site Health check labels. (332)

Correcció d’errors

  • Object Cache: Correct label for persistent object cache Site Health check. (329)
  • Images: Only update the specified target images when an image is edited. (301)

1.0.0

Característiques

  • Images: Generate secondary image MIME types when editing original image. (235)

Millores

  • Images: Introduce webp_uploads_prefer_smaller_image_file filter allowing to opt in to preferring the smaller image file. (287)
  • Images: Select MIME type to use in frontend content based on file size. (243)
  • Site Health: Update Site Health reports copy for more clarity and consistency. (272)

Documentació

  • Infrastructure: Define the plugin’s version support and backward compatibility policy. (240)

1.0.0-rc.1

Millores

  • Imatges: canvia l’ordre esperat dels elements del webp_uploads_content_image_mimes filtre. (250)
  • Images: Replace images in frontend content without using an additional regular expression. (262)
  • Images: Restore and backup image sizes alongside the sources properties. (242)

Correcció d’errors

  • Images: Select image editor based on WebP support instead of always using the default one. (259)

1.0.0-beta.3

Correcció d’errors

  • Infrastructure: Ensure default modules are loaded regardless of setting registration. (248)

1.0.0-beta.2

Característiques

  • Images: Create additional MIME types for the full size image. (194)
  • Site Health: Add module to warn about excessive amount of autoloaded options. (124)

Millores

  • Imatges: afegeix informació de fonts als detalls dels mèdia adjunts de la resposta REST. (224)
  • Imatges: permet als desenvolupadors seleccionar quin format d’imatge voleu utilitzar per a les imatges del contingut. (230)
  • Images: Allow developers to tweak which image formats to generate on upload. (227)
  • Images: Replace the full size image in the_content with additional MIME type if available. (195)
  • Memòria cau d’objectes: inclou memcached l’extensió a les comprovacions de compatibilitat amb la memòria cau d’objectes. (206)
  • Infrastructure: Add plugin banner and icon assets. (231)
  • Infrastructure: Use .gitattributes instead of .distignore to better support ZIP creation. (223)

Correcció d’errors

  • Images: Use original image to generate all additional image format sub-sizes. (207)
  • Infrastructure: Replace unreliable activation hook with default value for enabled modules. (222)

Documentació

  • Infrastructure: Update release instructions to include proper branching strategy and protect release branches. (221)

1.0.0-beta.1

Característiques

  • Images: Add WebP for uploads module. (32)
  • Imatges: admet mecanismes de reintent per generar submides en tipus MIME addicionals en entorns restringits. (188)
  • Images: Update the_content with the appropriate image format. (152)
  • Site Health: Add WebP support in site health. (141)
  • Site Health: Add module to alert about excessive JS and CSS assets. (54)
  • Object Cache: Add Site Health check module for persistent object cache. (111)
  • Infrastructure: Add settings screen to toggle modules. (30)
  • Infraestructura: afegit punter d’administrador. (199)

Millores

  • Memòria cau d’objectes: recomana sempre la memòria cau d’objectes al multilloc. (200)
  • Images: Create image sub-sizes in additional MIME types using sources for storage. (147)
  • Images: Update module directories to be within their focus directory. (58)
  • Site Health: Enhance detection of enqueued frontend assets. (136)
  • Infrastructure: Add link to Settings screen to the plugin’s entry in plugins list table. (197)
  • Infrastructure: Enable all non-experimental modules on plugin activation. (191)
  • Infrastructure: Include generated module-i18n.php file in repository. (196)
  • Infrastructure: Introduce perflab_active_modules filter to control which modules are active. (87)
  • Infrastructure: Remove unnecessary question marks from checkbox labels. (110)
  • Infrastructure: Rename object-caching to object-cache. (108)

Correcció d’errors

  • Images: Ensure the -scaled image remains in the original uploaded format. (143)
  • Images: Fix typo to access to the correct image properties. (203)
  • Infrastructure: Ensure that module header fields can be translated. (60)

Documentació

  • Salut del lloc: marca com a experimental, per ara, el mòdul d’auditoria de recursos en cua de la salut del lloc. (205)
  • Infraestructura: afegeix readme.txt un script d’actualització i un altre. (72)
  • Infrastructure: Add changelog generator script. (51)
  • Infraestructura: afegeix documentació de cotització. (47)
  • Infraestructura: afegeix documentació de la versió. (138)
  • Infrastructure: Define module specification in documentation. (26)