I am trying to:
I have problem high usage of CPU on the hosting with admin-ajax.php on the website encuentraturetiro.com
Every 5 sec admin-ajax load javascript on the home page and also on other pages.
I need to reduce the CPU usage because the hosting limits.
Link to a page where the issue can be seen:
hidden link
I expected to see:
Low CPU resources.
Instead, I got:
admin-ajax.php produce the cpu and execute every 5 sec.
Every 5 sec admin-ajax load javascript on the home page and also on other pages.
You need to either remove the View that paginates there with AJAX intervals of 5 seconds or change that View's pagination, in case the required CPU (which should not be so expensive) is not enough.
Also important is to load images that have a predefined size in such Views, not images that have a Custom Size (because they get generated each time on the fly)
These would be the only methods to decrease the calls to the AJAX which is needed for this kind of pagination or/and filters.