[wp-trac] [WordPress Trac] #24445: Improve is_multi_author() performance

WordPress Trac noreply at wordpress.org
Tue Jun 4 06:17:02 UTC 2013


#24445: Improve is_multi_author() performance
-------------------------+------------------
 Reporter:  alexvorn2    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.6
Component:  Template     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by nacin):

 Replying to [comment:9 markjaquith]:
 > We could use a transient for storing this value instead of raw cache
 get/set. That way people without persistent object caching would still
 benefit from the caching of that value.

 Transients came up when we originally did this, see #14405. Reading back
 through the ticket, what tipped the scales was an assumption that:
  * This query was fast
  * Transients require more queries

 However, an ''unexpiring'' transient is autoloaded. And this is the
 perfect use case for one, because we know when it needs to be cleared.

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


More information about the wp-trac mailing list