Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 3 years ago

#23206 closed task (blessed) (fixed)

Cache incrementors for wp_get_archives()

Reported by: ryan Owned by: ryan
Priority: normal Milestone: 3.6
Component: Cache API Version: 3.5
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

Make use of a caching incrementor and store queries in individual cache buckets to avoid memory exhaustion.

Pattern this after #23167, which does the same thing for get_pages().

See #23173 for an explanation of the motivation behind this.

Attachments (1)

23206.diff (8.7 KB ) - added by ryan 14 years ago.

Download all attachments as: .zip

Change History (6)

#1 @ryan
14 years ago

  • Type defect (bug)task (blessed)

#2 @aaroncampbell
14 years ago

  • Cc aaroncampbell added

@ryan
14 years ago

#4 @ryan
14 years ago

  • Keywords has-patch commit added

#5 @ryan
14 years ago

  • Owner set to ryan
  • Resolutionfixed
  • Status newclosed

In 23385:

In wp_get_archives(), cache queries to individual cache buckets instead of storing them in one cached array. Use incrementor style passive cache invalidation.

fixes #23206
see #23173

Note: See TracTickets for help on using tickets.