Opened 2 years ago
Last modified 4 months ago
#55856 new defect (bug)
WP Cache stats size wrong?
Reported by: | malthert | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | minor | Version: | |
Component: | Cache API | Keywords: | has-patch |
Focuses: | Cc: |
Description
What is the size that gets reported there? (class WP_Object_Cache function stats())
Doesn't make much sense, as it seems random.
It's not the runtime cache group memory size, since you serialize it, so it's not the same as the memory footprint. What is it supposed to mean, bc right now its just a number without a meaning.
Change History (7)
This ticket was mentioned in PR #6019 on WordPress/wordpress-develop by @kkmuffme.
8 months ago
#2
- Keywords has-patch added
- fix stats() description which didn't match the function anymore since https://core.trac.wordpress.org/changeset/16288
- remove meaningless size data https://core.trac.wordpress.org/ticket/55856
- display Hit percentage as this is a useful metric
Some history here: [3011], [16288].