Why is this happening?
Debug by….
Go through your scripts adding <?php exit(); ?> until you find the PHP script which is causing the delay, it’s usually one with heavy SQL statements. If its stats you could create a stats table and create a script which stored the data then read from that.