[wp-trac] [WordPress Trac] #26804: Support multiple $wpdb handlers
WordPress Trac
noreply at wordpress.org
Fri Jan 10 13:26:26 UTC 2014
#26804: Support multiple $wpdb handlers
--------------------------+------------------------------
Reporter: mgibbs189 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+------------------------------
Changes (by mgibbs189):
* keywords: dev-feedback close => dev-feedback
Comment:
@markoheijnen - That's true, the timing could make things confusing, but I
need some way to include a caching handler before WP and all the plugins
fully load. In some cases, this is the difference between 20ms and 2
seconds.
@wonderboymusic's suggestion to use `SHORTINIT` won't work because it
FORCES WP to quit early. I need a way for this to happen conditionally.
E.g.
* If a cache exists, then simulate `SHORTINIT` (quit early)
* If cache doesn't exist, then continue normal execution
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26804#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list