[wp-trac] [WordPress Trac] #12538: WP should cache menus
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 4 17:19:06 UTC 2012
#12538: WP should cache menus
-------------------------------+-----------------------
Reporter: Denis-de-Bernardy | Owner: ryan
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Menus | Version: 3.0
Severity: normal | Resolution:
Keywords: |
-------------------------------+-----------------------
Changes (by prettyboymp):
* keywords: close =>
* status: closed => reopened
* resolution: wontfix =>
Comment:
Replying to [comment:4 scribu]:
> I'm not so sure this should go into core, the same way that widget
caching isn't in core.
>
> The only thing that's cached is RSS feeds, since we don't want to flood
other sites.
>
> Installing a plugin like WP Super Cache solves the caching problem for
the entire page.
I think this needs to be revisited, even if it's just creating a way to
allow a plugin to cache the wp_get_nav_menu_items() function. A simple
menu that is only one level deep causes 3 extra queries.
Almost all core widgets have caching or use functions that have caching
built in and WP Super Cache isn't a solution for sites that have a high
percentage of logged in users.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12538#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list