[wp-trac] [WordPress Trac] #58808: Proposal: track object cache type in update checks
WordPress Trac
noreply at wordpress.org
Fri Jul 14 10:54:07 UTC 2023
#58808: Proposal: track object cache type in update checks
-----------------------------+-------------------------------------
Reporter: swissspidy | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: normal | Keywords: 2nd-opinion needs-patch
Focuses: |
-----------------------------+-------------------------------------
Related: #56751, #48116
I think it would be helpful to send the `wp_using_ext_object_cache()`
value as part of the update requests.
We already send the list of installed PHP extensions, so it's possible to
know whether e.g. redis or memcached are installed, but not if they are
actually used.
Ideally we would also know the exact type of object cache that is being
used (e.g. if it's actually redis or memcached or something else). That
would be also very useful for the `wp cache type` command,
[https://github.com/wp-cli/cache-command/issues/68#issuecomment-1433755427
as suggested here].
This could be done via `WP_Object_Cache::get_type()` and a
`wp_cache_type()` function for example.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58808>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list