Efficient way to pass 277 options in taxonomy through REST API?
-
Hi,
How would you recommend passing 277 options in a custom taxonomy through the REST API?
I am using WordPress as a headless CMS for a mobile app, so all the information is passed via the REST API. A custom post type will need to select one of out 277 options. This would typically be a custom taxonomy, but I am concerned that it would be slow to read the 277 options in the database and then pass them with all the overhead of 277 records to the mobile app…
Shall I create a separate endpoint with an array with the 277 values?
Any elegant suggestion would be great!Thanks a lot for you help!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Efficient way to pass 277 options in taxonomy through REST API?’ is closed to new replies.