Skip to content

Add generator tag with plugin version and modules #321

@felixarntz

Description

@felixarntz

Feature Description

Given that the Performance Lab plugin is a beta testing plugin for future WordPress core performance features, it is crucial that through the plugin we can showcase how a certain feature/module improves performance as expected, and through that to prove and allow data-based reasoning around whether it should or should not be in WordPress core in its current state.

A transparent way to gather performance-related data is to rely on HTTP Archive and its public data sets. HTTP Archive uses Wappalyzer (see its GitHub repo) to identify web technologies, also used to identify many popular WordPress plugins.

This issue proposes the addition of a meta[name="generator"] tag to the Performance Lab plugin, which allows tools like Wappalyzer to identify...

  • whether a site is using the Performance Lab plugin
  • which version of the Performance Lab plugin it uses
  • which modules of the Performance Lab plugin it has enabled

The proposed structure for the content value of the tag is: Performance Lab <version>; modules: <active modules>
For example: <meta name="generator" content="Performance Lab 1.1.0; modules: images/webp-uploads, site-health/audit-autoloaded-options, object-cache/persistent-object-cache-health-check">

While this tag is crucial for gathering performance-related metrics at scale, some sites prefer to remove any generator tags. While there is no real benefit in doing so, like with WordPress core's own generator tag, the proposed implementation would allow to easily unhook the logic, should a site prefer not to include it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    InfrastructureIssues for the overall performance plugin infrastructure[Type] FeatureA new feature within an existing module

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions