Make WordPress Core

Opened 16 years ago

Closed 15 years ago

Last modified 7 years ago

#16274 closed defect (bug) (fixed)

Remove WP_Cache non_existant_objects array

Reported by: duck_ Owned by: duck_
Priority: normal Milestone: 3.3
Component: Cache API Version:
Severity: normal Keywords: has-patch needs-testing dev-feedback
Cc: Focuses:

Description

This was introduced back in [3021] "for options, which has its own notoptions cache these days" (ryan), to help reduce file system hits.

Right now it appears to just take up a bit of extra memory and cause incorrect figures on cache misses (assuming that we do want to report a 2nd request for an uncached item as a miss).

Noticed this as a result of investigation prior to #15812, I saw that stats was showing no increase in cache misses and I thought this a little strange but didn't question it too much.

Attachments (1)

16274.diff​ (1.9 KB ) - added by duck_ 16 years ago.

Download all attachments as: .zip

Change History (6)

#1 @duck_
16 years ago

  • Keywords has-patch needs-testing added

Initial patch by inspection, needs testing and feedback in case I missed a purpose.

#2 @ryan
15 years ago

Looks good.

#3 @duck_
15 years ago

  • Owner set to duck_
  • Resolution → fixed
  • Status new → closed

In [18682]:

Remove the non_existent_objects property from WP_Object_Cache. Fixes #16274.

#4 @duck_
15 years ago

  • Milestone Future Release → 3.3

This ticket was mentioned in ​Slack in #core-editor by noisysocks. ​View the logs.


7 years ago

Note: See TracTickets for help on using tickets.