Slow parent page attribute for websites with many pages
-
Hi,
Gutenberg editor seems to use API-REST via the “api-fetch.min.js” file to load the parent page attribute when editing a page.
Here is the call being made :
/wp-json/wp/v2/pages?per_page=100&exclude%5B0%5D=36975&parent_exclude%5B0%5D=36975&orderby=menu_order&order=asc&context=edit&_locale=userWhen a website has many pages (600 in our case), that API-REST call takes forever to load because it gets the content and all meta-values of every page that it calls instead of calling ONLY the page ID and page Title.
The parent page attribute finaly shows, after 2 minutes of processing, and 30 Mo of data transfert.
What would be the solution ?
Thx
Guillaume
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Slow parent page attribute for websites with many pages’ is closed to new replies.