Advanced Gallery DoS on JSON API
-
Hi,
Please elevate this note to your developers.
When loading Advanced Gallery in the editor, Kadence makes a request to wp-json/wp/v2/media/x for every image in that gallery, concurrently.
On galleries with a large number of images, this creates a problem.
This creates an excessive number of entry processes hitting PHP, which is not suitable for optimised hosting environments. In instances where entry processes are limited, this prevents other aspects of the page loading and renders the edit page inoperable.
My thoughts on a solution is to assemble the information that you need in one request or to queue your getMedia() requests.
Best wishes,
- The topic ‘Advanced Gallery DoS on JSON API’ is closed to new replies.