Forum Moderators: coopster
The page is slow in the first level
mydomain/page1.php
but the same code in second level is 3 times slower
mydomain/folder/page2.php
I thought something was wrong with the page,
but no, the same page (page2.php) if I save it in first level in the domain it is not that slow?
Is it so that mysql is slower in folders than in first level?
To fix that I was trying to use flush() but I canīt get it to work.
Any thoughts?
My thought was to put an flush() after every table so the pages loades bit by bit, but canīt make it.
I think you are going to have to spend some more time on diagnostics. It could be some strange server thing but I would look through the script first and find all path related functions. I would also benchmark the acript in pieces to see which part specifically is slowing down.
Thanks