[wp-trac] [WordPress Trac] #16287: get_option() - store retrieved option in a global array?
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 18 15:23:09 UTC 2011
#16287: get_option() - store retrieved option in a global array?
----------------------------------+------------------------------
Reporter: digitalnature | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 3.1
Severity: normal | Resolution:
Keywords: get_option, database |
----------------------------------+------------------------------
Comment (by garyc40):
Replying to [comment:2 digitalnature]:
> I did take a look. Object cache is disabled by default so that will not
happen on most WP sites out there.
That's not true.
Take a look at {{{wp-settings.php}}}, line 77 where it says
{{{wp_start_object_cache()}}}. If there's no {{{object-cache.php}}} file
defined in {{{wp-content}}} dir, the default {{{wp-includes/cache.php}}}
is used.
The drop in file is usually for persistent cache, while the default
{{{cache.php}}} is in-memory, per request cache.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16287#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list