Performance plugin from the WordPress Performance Team, which is a collection of standalone performance features.
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.
performance-lab
folder to the /wp-content/plugins/
directory.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.
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.
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.
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.
Contributions are always welcome! Learn more about how to get involved in the Core Performance Team Handbook.
Enhancements
Bug Fixes
Enhancements
Bug Fixes
Enhancements
Bug Fixes
WordPress.DB.DirectDatabaseQuery.DirectQuery
warning for Autoloaded Options Health Check. (1179)Enhancements
object-cache.php
drop-in placement logic to support updating to a newer version of the file. (1047)Documentation
Features
Enhancements
Bug Fixes
Server-Timing
header. (957)Features
Enhancements
can-load.php
callbacks to return a WP_Error
with more information. (891)Bug Fixes
Enhancements
Documentation
Bug Fixes
Documentation
Features
Enhancements
PERFLAB_DISABLE_SERVER_TIMING
constant. (795)Bug Fixes
Enhancements
Enhancements
Bug Fixes
Server-Timing
header output more robust. (736)Enhancements
Dominant Color
and Fetchpriority
modules for their standalone plugins. (704)plugins.json
definition. (719)plugins.json
for manual workflow. (710)Bug Fixes
Enhancements
WordPress-Extra
rules in PHPCS configuration and fix resulting problems. (695)Bug Fixes
Documentation
dominant-color
to dominant-color-images
. (708)Dominant Color
module to Dominant Color images
. (705)Enhancements
wp-total
metric to default Server-Timing metrics. (669)load.php
files really only load other code to prevent conflicts in standalone plugins. (674)Bug Fixes
object-cache.php
drop-in. (672)Enhancements
perflab_disable_object_cache_dropin
filter. (629)Bug Fixes
$metadata['sizes']
to fix PHP warning. (648)plugin_action_links_*
filter. (647)Documentation
Enhancements
Bug Fixes
Features
fetchpriority
module. (528)Bug Fixes
admin_email
and actual admin user’s email when original admin_email
user was deleted. (603)Enhancements
Bug Fixes
style
attribute. (582)Enhancements
Enhancements
Enhancements
webp_uploads_get_content_image_mimes()
to get content image MIME replacement rules. (420)PERFLAB_PLUGIN_DIR_PATH
constant for plugin_dir_path()
. (429)Bug Fixes
Enhancements
wp_get_image_editor()
methods argument to check whether it supports dominant color methods. (404)perflab_aea_get_resource_file_size()
in favor of wp_filesize()
. (380)Bug Fixes
webp_uploads_upload_image_mime_transforms
filter is treated correctly. (393)webp_uploads_prefer_smaller_image_file
filter is set to true
. (397)Features
Enhancements
webp_uploads_pre_generate_additional_image_source
filter to allow returning file size. (334)wp_filesize
instead of filesize
if available. (376)Bug Fixes
full
image sources when restoring the original image. (314)Features
wp_head
output. (322)Enhancements
webp_uploads_pre_generate_additional_image_source
to short-circuit generating additional image sources on upload. (318)webp_uploads_pre_replace_additional_image_source
to short-circuit replacing additional image sources in frontend content. (319)webp_uploads_prefer_smaller_image_file
filter. (302)Bug Fixes
Features
Enhancements
webp_uploads_prefer_smaller_image_file
filter allowing to opt in to preferring the smaller image file. (287)Documentation
Enhancements
webp_uploads_content_image_mimes
filter. (250)Bug Fixes
Bug Fixes
Features
Enhancements
the_content
with additional MIME type if available. (195)memcached
extension in checks for object cache support. (206).gitattributes
instead of .distignore
to better support ZIP creation. (223)Bug Fixes
original
image to generate all additional image format sub-sizes. (207)Documentation
Features
the_content
with the appropriate image format. (152)Enhancements
sources
for storage. (147)perflab_active_modules
filter to control which modules are active. (87)object-caching
to object-cache
. (108)Bug Fixes
-scaled
image remains in the original uploaded format. (143)Documentation
readme.txt
and related update script. (72)