ajax view counter poor performance breaks site under load

Posted in: Newspaper
Post count: 21

The performance of the ajax counter ist very poor and heavy. The ajax-request are still loading the whole WordPress over wp-admin-ajax.php and breaks the Site under high load. Please could you fix this issue for a professional theme?

Maybe the wp-json API could help.

Thanks!

  • This topic was modified 5 years by mbrckn.
  • This topic was modified 5 years by mbrckn.
Post count: 18283

Hello !

Please send us a screenshot of your System Status Tab and make sure that all the requirements are met as you can see here: https://forum.tagdiv.com/requirements-for-newspaper/ ; You will have to first start looking for a plugin conflict. please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Also you can try and remove and re-install the tagDiv Composer plugin.

Let us know the results.

Thank you !

Post count: 21

The problem is high cpu load! The counter use the admin-ajax.php. This is a development problem. admin-ajax.php is bad for performance.

TTFB over 500 ms per request for a simple counter!

This is a not a user problem.

Post count: 35449

Hi mbrckn, indeed our theme has many options and most of theme make request to database, therefore if you are using many options with ajax queries you need to have a good server.
Unfortunately we do not have for the moment a quick fix, but we can provide a guide for how to reduce the ajax request and CPU –> https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/ also if you are using a pro demo and disable the Standard Pack plugin then should be some improvements our developers are working to make the theme better and find a different way to keep the theme options but with better performance, I hope that in the coming update to start to appear some results for this problem.
Thank you for your understanding and sorry for the inconvenience!

Post count: 21

The problem is the using of poor performance wp-admin.php requests in the frontend instead of performance optimized wp-json requests.

Post count: 35449

Hi,
Our developers made some more investigations and try to add an improvement for this, unfortunately, the results were not so good, so the only solution that has proposed was to use an alternative plugin -> https://colorlib.com/wp/visitor-counter-plugins/
Thank you!

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