UPDATE:
Ok, the buffer seems to give me some better preformence but isn't quite doing it yet. When you refresh the page it's still extremelly slow. But i found out what's the main problem.
Both pages use another include wich is causing the problem: Connection.inc
This include file contains the following code:
mysql_connect("dataServer","foo","bar")or die("Can't connect to database server.");
Now the problem seems to be that the server makes two connections. (one per page). I have the luck of having a back up server. I copied the database to the other server. And made some changes to my script. Now one page connects to the server and the other to the back up server. And guess what. The page loads super fast.
Offcourse having one page connect to the back-up server isn't an option for me so does anyone know how i can have just one shared connection for both pages? Is this possible?
TIA