The WordPress coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. development team builds WordPress! Follow this site for general updates, status reports, and the occasional code debate. There’s lots of ways to contribute:
Found a bugbugA bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority.?Create a ticket in the bug tracker.
Proposal: Persistent Object Cache and Full Page Cache Site Health Checks
This proposal seeks to integrate two new Site Health checks for Persistent Object Cache and Full Page Cache into WordPress coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress., targeting the WordPress 6.1 release.
Context
Providing valuable recommendations for site owners is crucial to improving WordPress performance. These two modules are the first in a series of Site Health modules that the performance team is working on. Acknowledging performance problems is the first step to solving them.
The modules were originally proposed and developed by members of the performance team and are available as modules inside the Performance Lab plugin.
The recently released version 1.2.0 of the Performance Lab plugin contains both modules in a state that is ready to merge into core.
The team is currently migrating the module code into WordPress core patches in 2 TracTracAn open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. tickets:
Persistent Object Cache Health Check from performance pluginPluginA plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party to core (#56040)
Port Audit Full Page Cache from performance plugin to core (#56041)
Any reviews and feedback on the core patches would be greatly appreciated.
Customizing the audits
We’ve added a series of filters to make messaging and suggestions customizable. These filters can be used by hosting providers to provide their own personalized suggestions on how to address the Site Health feedback.
Persistent Object Cache filters
Hosts may want to replace the notes to recommend their preferred object caching solution:
Hosts or site owners may want to bypass thresholds and force suggestions, or filterFilterFilters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. them to determine whether to suggest the use of a persistent object cache:
You can test the modules in v1.2.0 or later of the Performance Lab plugin. Both modules should be enabled by default, but you can double-check that they are enabled in Settings > Performance:
Once enabled, you can view the test results on the Site Health Status screen at Tools > Site Health > Status.
We encourage you to test these modules (and others) from the Performance Lab Plugin, report any bugs in our GitHub repository, or contribute with fixes and ideas. You can also share any feedback, concerns, or questions to improve these features further in the comments.
You must be logged in to post a comment.