|
Posted by Useful Info on 07/21/07 16:11
Hi all,
I have some PHP pages at http://muvy.org which is exhibiting
some strange slowness. It is hosted by secureserver.net (bad?).
When I time how long it takes to load the main web page from the
server
it averages 7 seconds, but often goes to 15.
When I store the main page on my hard drive, the load time is 1
second.
I've tried removing PHP code that might slow things down
but that only brings the load time down to 5.5 seconds best case.
I have other PHP pages on the same server that seem to execute
faster. The key difference between the slow main page and the faster
pages is the faster pages do not use "include" to execute code in
other
PHP files.
However with out "include" and the modularity it affords, my PHP code
would be harder to maintain. What to do?
Any insights appreciated.
Navigation:
[Reply to this message]
|