Many requests for POST /wp-admin/admin-ajax.php?td_theme_name=Newspaper?v=12.7.5

Posted in: Newspaper
Post count: 57

I see many requests like this flooding my server and the site is very slow:
POST /wp-admin/admin-ajax.php?td_theme_name=Newspaper?v=12.7.5
It looks like it loads with each visitor and each page view or even more.

Can you explain if this is normal behaviour and what it does?

Thank you!

Post count: 35449

Hello,
Those requests are generated by the theme and are usually related to pagination. If your website uses AJAX pagination, infinite scroll, or a “Load More” button, each time new posts are loaded a request like the one mentioned above is sent to the database.
To reduce the number of requests to /wp-admin/admin-ajax.php?td_theme_name=Newspaper?v=12.7.5, you can lower the number of pagination-triggered requests from your blocks—especially on the homepage. The homepage is typically the most accessed page and often contains the highest number of blocks with pagination enabled.
Thank you.

Post count: 57

Thank you for your reply!
Yes, I have and infinite scroll on the homepage, but it’s only 3 loads deep.

However, the home page is NOT the most visited page because we receive most visits through Discover to content pages like this one:
https://www.tocnoto.si/jani-pavec-povedal-kaj-imajo-skupnega-luka-doncic-anze-kopitar-in-njegova-starejsa-hci-sara/

But on this page I can’t find any infinite loads or pagination, so I’m not sure what the cause could be. Do you have any other ideas?

Post count: 35449

Hi,
I checked the article, and there are only 2 ajax pagination https://prnt.sc/xrj5A2oFf-hvhttps://prnt.sc/u29O9SBfrhVk, so I do not believe that these are making so many queries.
What you can try to install Query Monitor and check the pages and articles that are most viewed.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.