AdvancedCustomFields / AdvancedCustomFields/acf

To many simultaneous ajax requests with ACF blocks preview on admin page

Open
#775 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Hi Team,

we ran into in error with might be about having to many simultaneous ajax requests on the wordpress admin page loading many acf-blocks. I've read about a similar state on issue #269 .

When opening an admin page with many acf blocks - some of them (mostly the last ones, but sometimes also blocks in between) will not load.

image

image

Our client exaggerates the number of acf blocks (40+ per page...ongoing) but still - it's the wish to use it like this and we want to please our client.
I already contacted the web hoster. They confirmed our first guess that its about to many simultanoeous HTTP requests - but refused to adapt their limits.

It might be to late to change the projekt back to using native blocks - yet I really enjoy using ACF blocks to build my websites.

I wish there might be a better error handling when loading an admin page - like reloading blocks with failed HTTP-requests.

I would be very thankful if you would investigate this error further and we could work out a solution together so i can keep using the ACF plugin in further projects.

Thank you in advance!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on a WordPress admin page containing more than 40 ACF blocks, then inspect which block preview requests fail and how those failures are reported. Done means the affected blocks load reliably or failed requests receive clear, recoverable handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.