Excessive AJAX Requests Causing High CPU Load – Newspaper Theme v12.7.4

Posted in: Newspaper
Post count: 1

Hello TagDiv Support Team,

We are experiencing a critical performance issue on our website ifmnoticias.com, related to the Newspaper theme and TagDiv plugins.

We have detected excessive AJAX requests being generated from the following endpoint:

/wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=12.7.4

In just 30 minutes, approximately 4,599 requests were sent to the site from this source. This spike is causing a significant increase in CPU usage on the server.

We suspect there may be a vulnerability or malfunction in the Newspaper theme (v12.7.4) and/or one of the TagDiv plugins triggering these repeated requests.

Actions already taken on our side:

Reduced the MySQL max connections from 5000 to 200 to improve stability.

Enabled Cloudflare Under Attack mode to mitigate potential abuse or malicious traffic.

However, the issue appears to originate from the theme/plugin itself rather than purely external traffic.

Could you please:

Confirm whether this is a known issue in version 12.7.4?

Advise if there is a patch, configuration adjustment, or update we should implement?

Recommend best practices to prevent admin-ajax overload caused by the theme?

This is a high-priority issue due to server performance impact.

We appreciate your prompt assistance.

Best regards,

Post count: 35449

Hi,
The theme uses admin-ajax to handle the request to the database. Now each block from a page will make it’s on requets, so what you can do is to reduce the number of blocks on your pages.
What you should do is to use a good cache plugin, and I see that you already use CDN/Cloudflare.
Another option that can help is the flex blocks the cache option https://forum.tagdiv.com/use-flex-blocks-cache-option/. This option will cache those block requests and deliver them as long as the cache is set (is recommended that the cache expiration time to be longer if you create only a few articles per day).
Another solution is to reduce the number of ajax usage on the website, as those are the ones that will make requests to load more posts.
So ajax features like ajax pagination – https://i.imgur.com/EfKi0za.pnghttps://i.imgur.com/sMeot5s.pnghttps://i.imgur.com/vrJq3BC.png
The ajax menus – https://i.imgur.com/n0K9hCN.png
Also, the header live search makes requests when it is used – https://i.imgur.com/1ZvDwZx.png This can be deactivated when using a cloud header template. We added an option specially for it, as it can cause increased load on large websites.
The mega-menu pagination – https://i.imgur.com/T8kYzu4.png This can be deactivated when using cloud header templates, an option for this was also added for the same reasons mostly.
You can disable the ajax view count from here -> https://i.imgur.com/BIwbscU.png
Thank you!

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