[wp-trac] [WordPress Trac] #23167: Cache incrementors for get_pages

WordPress Trac noreply at wordpress.org
Tue Jan 15 17:32:36 UTC 2013


#23167: Cache incrementors for get_pages
----------------------------------------+------------------------
 Reporter:  nprasath002                 |       Owner:  westi
     Type:  task (blessed)              |      Status:  reviewing
 Priority:  normal                      |   Milestone:  3.6
Component:  Cache                       |     Version:  3.5
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------------

Comment (by ryan):

 In [changeset:"23300"]:
 {{{
 #!CommitTicketReference repository="" revision="23300"
 In get_pages(), cache queries to individual cache buckets instead of
 storing them in one cached array. Also, store post IDs instead of full
 objects. This reduces overall memory usage as well as the size of the
 cache buckets. Use incrementor style passive cache invalidation.

 Props nprasath002
 see #23167
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23167#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list