Support

Account

Home Forums Gutenberg ACF blocks causing over 200 ajax requests on page load

Unread

ACF blocks causing over 200 ajax requests on page load

  • On a content heavy page, one single page load triggers over 200 admin ajax requests. There are both 429 and 504s showing in the console. 200 ajax requests for a single page load is extremely excessive and without our server side protections in place, it would be likely this would cause server side performance issues.

    The specific ajax request is acf/ajax/fetch-block

    ≤pre>
    wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php
    544:acf_register_ajax( ‘fetch-block’, ‘acf_ajax_fetch_block’ );

    This issue is causing all sorts of problems, including the blocks not loading properly making it extremely difficult to edit the content of the page.

    The amount of hits per block seems unusual based on how many blocks are on the page in question. This makes me think there’s a problem with the plugin itself triggering this excessive amount of ajax hits.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.