I have a PHP website which suddenly runs slow when you enter the site. It does not run slow every time, only on the first run. I did some modification to some plugins I have, maybe something there that is causing the delay, but I have disabled them, only to see the same lags.
Is there a good way to see what exactly takes so long to load. I am on a shared environment, and there are no debugging tools available such as xdebug and pear libraries.
Does anyone know what steps I can take in getting some details on what is running.
You can try the yslow add-on of firefox. This can show you why the site is slow from the client site. Take a look and also check your server side code too. If there is a query taking too much time.
You said it runs slow on very first time, it may be because of the client site load such as loading unwanted javascript code everytime. Load the javascript as they needed or you can minify the javascript.