[wp-trac] [WordPress Trac] #26394: In update_option if option is missing add the option with autoload no

WordPress Trac noreply at wordpress.org
Wed Dec 4 14:09:29 UTC 2013


#26394: In update_option if option is missing add the option with autoload no
-------------------------+-----------------------------
 Reporter:  codix        |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Performance  |    Version:  trunk
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 Right now if an option is not added with add_option and subsequently
 updated it will  be added as autoload yes. This would work fine in most
 cases. But it becomes a problem if the total size of autoload options
 exceed 1024*1024-42 bytes with memecache with default configuration and
 object cache with memcache backend. Also storing 1024*1024 bytes of data
 per blog in a very large multi site environment is not best use of
 resources.

 I propose update_option to add options with autoload no as many developers
 just use update_option to even add options.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26394>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list