[wp-trac] [WordPress Trac] #36723: Add caching to wp_old_slug_redirect
WordPress Trac
noreply at wordpress.org
Sat Apr 30 08:20:26 UTC 2016
#36723: Add caching to wp_old_slug_redirect
-------------------------------+-----------------------------
Reporter: spacedmonkey | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 2.1
Severity: normal | Keywords:
Focuses: performance |
-------------------------------+-----------------------------
The wp_old_slug_redirect function is called on every page. It perform a
raw sql query everytime it is run. The result of that query should be
cached for performance reasons.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36723>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list