[wp-trac] [WordPress Trac] #12538: WP should cache menus
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 7 02:10:11 UTC 2010
#12538: WP should cache menus
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: General | Version: 3.0
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
There's a prime example of how to do this in the menu ticket (i.e. the
plugin I attached in #11817).
Shouldn't we be doing this in WP as well?
It basically goes:
- if it's a page, then try a post meta
- if it's search/404 request, then try a transient
- if it's anything else, then try a transient
The plugin also handles conditional flushing of the cache based on whether
or not the permalink and/or the label changed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12538>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list