[wp-trac] [WordPress Trac] #55675: Improve performance Themes REST API endpoint
WordPress Trac
noreply at wordpress.org
Wed May 4 13:19:08 UTC 2022
#55675: Improve performance Themes REST API endpoint
-------------------------+-----------------------------
Reporter: furi3r | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Keywords:
Focuses: performance |
-------------------------+-----------------------------
await wp.apiFetch({ path: 'wp/v2/themes?_envelope'});
The first time you call it, we have 2 duplicated queries.
The second time you call it, we have 1 duplicated query.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55675>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list