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

WordPress Trac noreply at wordpress.org
Thu Oct 27 00:26:38 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 rmccue):

 We changed our object cache implementations to hijack `alloptions`
 cache.php#L153-L231 Memcache] and [https://github.com/humanmade/wordpress-
 pecl-memcached-object-cache/pull/1 Memcached]).

 The problem with this approach is that it's pretty terrible handling
 without WordPress helping out more. The object cache receives an opaque
 heap of data that then needs to be parsed back out, diffed, and saved

 There needs to be changes in WordPress core for this. I can't remember the
 exact approach we discussed, maybe @joehoyle can.

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

More information about the wp-trac mailing list