Skip to content

Detect and report name of hosting provider #205

@iandunn

Description

@iandunn

Is your enhancement related to a problem? Please describe.

Some hosts like VIP and Kinsta have WP_CACHE set to false, because they handle static page caching at the server/network level.

The Monitor project relies on that constant, though, and reports a false-positive if it's not true. Knowing the name of the hosting provider would allow it, or any other monitoring system, to handle those hosts appropriately. (Issue 11 exists in the project repo to implements that side of this issue).

Detecting the hosting provider's name could be based on available PHP constants like WPCOM_IS_VIP_ENV, the server hostname, mapping the server IP to an AS number, etc.

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions