[wp-trac] [WordPress Trac] #35096: Every option call results in a database query on multisite

WordPress Trac noreply at wordpress.org
Tue Dec 15 23:26:51 UTC 2015


#35096: Every option call results in a database query on multisite
--------------------------------+----------------------
 Reporter:  buley               |       Owner:
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:  wontfix
 Keywords:                      |     Focuses:
--------------------------------+----------------------
Changes (by danielbachhuber):

 * status:  reopened => closed
 * focuses:  multisite =>
 * resolution:   => wontfix
 * version:  4.4 =>
 * milestone:  Awaiting Review =>


Comment:

 > it would seem prudent for core not to get this alloptions amnesia. It's
 seems wasteful and unnecessary to run 250 of the same query when no
 options have changed in the milliseconds between them.

 Because the object cache drop-in wholly replaces core's internal object
 cache, core has no knowledge of object cache failure when the drop-in
 fails. It sucks, but it's the tough reality of using a drop-in
 replacement.

 I'd encourage you to open a ticket with the maintainer of your object
 cache drop-in to discuss the possibility of having an internal fail back
 procedure. Feel free to cc me to loop me into the conversation.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35096#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list