[wp-trac] [WordPress Trac] #12734: Nav Menus don't scale for big sites
WordPress Trac
wp-trac at lists.automattic.com
Sat Mar 27 23:21:03 UTC 2010
#12734: Nav Menus don't scale for big sites
--------------------------+-------------------------------------------------
Reporter: ptahdunbar | Owner: ptahdunbar
Type: defect (bug) | Status: accepted
Priority: high | Milestone: 3.0
Component: Menus | Version: 3.0
Severity: blocker | Keywords:
--------------------------+-------------------------------------------------
Comment(by ptahdunbar):
The primary bottleneck is on the menus page loading all the objects (post,
pages, media, cats, tags, etc.) from the db and looping through them which
is super memory intensive.
I discussed this with ryan and he came up with the idea to limit them by
15 (excluding pages, so that all pages are retrieved). Links aren't a
bottleneck (yet) as it's new to WordPress so they also won't be limited.
And I'll make sure categories aren't limited too.
FYI: There will be a filter to remove that limit for the other objects.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12734#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list