[wp-trac] [WordPress Trac] #23330: Allow autoloading all options, not just autoload = yes options

WordPress Trac noreply at wordpress.org
Wed Jan 21 00:40:21 UTC 2015


#23330: Allow autoloading all options, not just autoload = yes options
--------------------------+-----------------------------
 Reporter:  ryan          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Cache API     |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------

Comment (by ashfame):

 I think we should not autoload everything, this would cause issues on
 several sites which make use of options table as a general purpose storage
 table than small options. WordPress.com is obviously a very controlled
 environment.

 Example: A lot of shipping rates plugin of WooCommerce save huge data in
 options table, which would slow the autoload query a lot. Also this would
 cause an increase in memory footprint without a persistent caching storage
 and possibly never-used cache entries or worse undesired evictions in case
 of persistent caching storage.

 This impacts a lot of WordPress sites which are doing more CMS-like
 things.

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


More information about the wp-trac mailing list