[wp-trac] [WordPress Trac] #31245: Replace alloptions with a key cache

WordPress Trac noreply at wordpress.org
Wed Oct 26 23:58:47 UTC 2016


#31245: Replace alloptions with a key cache
-------------------------------------+-----------------------------
 Reporter:  rmccue                   |       Owner:  rmccue
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Options, Meta APIs       |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  performance
-------------------------------------+-----------------------------

Comment (by dd32):

 Replying to [comment:37 danielbachhuber]:
 > At this point, I'm thinking the alternative alloptions implementation
 could be a library bundled by the object cache drop-ins that want to
 support it.

 Honestly, I think that's the correct answer here in the end, although I
 don't think you should library it, it should just be a standard part of
 the object cache.
 The object cache has freedom to route get/set for `alloptions` however it
 wants, it can route it as a standard request, or it can route it through a
 multiget.
 If core adds something in the future that's better, object caches can
 implement that, or their existing method may continue to work.

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


More information about the wp-trac mailing list