[wp-trac] [WordPress Trac] #55674: Improve performance Search REST API
WordPress Trac
noreply at wordpress.org
Wed May 4 13:02:21 UTC 2022
#55674: Improve performance Search REST API
-------------------------+-----------------------------
Reporter: furi3r | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Keywords:
Focuses: performance |
-------------------------+-----------------------------
Search query rest endpoint will make a query per post_id for each post in
the result.
A possible solution, Prime_post_cache needed.
[https://github.com/WordPress/wordpress-
develop/blob/4558de543c64c877ffea4cdfbdf67d743c3e4391/src/wp-includes
/rest-api/search/class-wp-rest-post-search-handler.php#L86]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55674>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list