murtuza.hasan.13 Posted January 13, 2010 Share Posted January 13, 2010 Hello, We are developing our application with phpcake. We have a very low response from the server, because, when we test the app from several browsers or places, we always get the same low response, the problem is that the server takes a lot of time with message waiting for response from server "Waiting for www.example.com" Is it a server problem or a phpcake configuration? Thank you in advance Quote Link to comment https://forums.phpfreaks.com/topic/188325-waiting-for-wwwexamplecom/ Share on other sites More sharing options...
ignace Posted January 13, 2010 Share Posted January 13, 2010 How is the response of the application when you run it locally? Quote Link to comment https://forums.phpfreaks.com/topic/188325-waiting-for-wwwexamplecom/#findComment-994209 Share on other sites More sharing options...
murtuza.hasan.13 Posted January 14, 2010 Author Share Posted January 14, 2010 Firstly, thanks for ur reply. Locally its even more worse, i get continuous timeouts. Query execution time in the page is about 0.4 to 0.6 seconds. i removed most parts of my page where loops are running, but still ddnt help. The overall time reduced by a second or two, but the "waiting for www.example.com" still remains. Quote Link to comment https://forums.phpfreaks.com/topic/188325-waiting-for-wwwexamplecom/#findComment-994679 Share on other sites More sharing options...
trq Posted January 14, 2010 Share Posted January 14, 2010 I've had similar issue with Zend and ended up having to drop it in favor of something more lightweight, but to be honest, the problem could be anywhere. It could just be a crap / misconfigured server. have you tried actually benchmarking the site using Apache bench or similar? Quote Link to comment https://forums.phpfreaks.com/topic/188325-waiting-for-wwwexamplecom/#findComment-994692 Share on other sites More sharing options...
thehippy Posted January 18, 2010 Share Posted January 18, 2010 Try setting FULL_BASE_URL (in paths.php?) explicitly to see if that helps, cake is probably pulling from a bad apache config. In general try setting as many things as possible explicitly, lookups just slow things down. Quote Link to comment https://forums.phpfreaks.com/topic/188325-waiting-for-wwwexamplecom/#findComment-997717 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.