Home › Forums › WoodMart support forum › Theme is very slow › Reply To: Theme is very slow
pamela-4865
Hi,
I fully understand what you mean that WordPress has a “heartbeat” which basically loops through the plugins and themes where it will wait and check that classes and assets are loaded. This eventually finishes per request, then on a trigger of AJAX like a click event, it will create another request (and if the ajax is to a php file/script then it will use a PHP processes). The WP Crons are also only processed when a request is made to the site and does not work the same as a default UNIX cron and therefore the admin dashboard cannot create a heartbeat if there are no requests.
However again there is no traffic coming to the provided domain so no requests are being made, my issue is after the initial request has been made, the processes do not close and the loop continues on, again no traffic is going to the domain to make the requests. So the file is growing due to the processes not being able to close and the loop continues.
These processes stop with the default theme but they are not stopping with the Woodmart theme. I would like to understand why these processes do not close when the woodmart theme is active with no requests being made to this site.