[wp-trac] [WordPress Trac] #11559: split HTTP Class and Functions
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 22 09:38:08 UTC 2009
#11559: split HTTP Class and Functions
--------------------------+-------------------------------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Optimization | Version: 3.0
Severity: normal | Keywords: 2nd-opinion
--------------------------+-------------------------------------------------
Slight "optimization" i'm thinking about.
Like is done with SimplePie, Only include the Class files when the API
functions are called..
ie.
{{{
function wp_remote_get() {
include_once ABDPATH . '/wp-includes/class.http.php';
....
}
}}}
just to prevent loading the entire HTTP class on pageloads which do not
need it..
I'm not sure on the performance issues related, ie. is another file going
to make it slower than just parsing the entire file..
Its done with the Feeds and a few Backpress files i believe..
What do people think?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11559>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list