isaac_cm Posted June 22, 2006 Share Posted June 22, 2006 I try a small ajax code in my page it work fine local but when I upload it to server it take 20 sec to respond any one why ajax could be slow that wayI use ajaxgold framework it is simple since I did need more thanks Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/ Share on other sites More sharing options...
deejay1111 Posted July 6, 2006 Share Posted July 6, 2006 try another framework,sometimes the javascript includes are more than 200 kb with functions included you'll never use.or just strip out some functions that you don't use.regards, dj Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-53773 Share on other sites More sharing options...
isaac_cm Posted October 18, 2006 Author Share Posted October 18, 2006 I tried many of ajax framework some of them only include 4 functions !! and the respond is still slow , do you think the host is responsible for that ?thanks Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-110942 Share on other sites More sharing options...
tomfmason Posted October 19, 2006 Share Posted October 19, 2006 I have never had an issue with that before. Please post an example of your code.Tom Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-111008 Share on other sites More sharing options...
isaac_cm Posted October 19, 2006 Author Share Posted October 19, 2006 pick any frame work I tried all, I have another site on different host one in UK and the other in US the US host is responding faster after 1~3 sec but the UK server is responding after 15 sec !!! Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-111230 Share on other sites More sharing options...
fenway Posted October 19, 2006 Share Posted October 19, 2006 What makes you think it's AJAX and not the connection itself? Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-111403 Share on other sites More sharing options...
isaac_cm Posted October 21, 2006 Author Share Posted October 21, 2006 I think it is the host not ajax , am I right ? if so please advice Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-112266 Share on other sites More sharing options...
fenway Posted October 22, 2006 Share Posted October 22, 2006 Test it on another host, or run something equivalent that you know runs at a given speed. Otherwise, I have no advice. Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-112821 Share on other sites More sharing options...
isaac_cm Posted October 22, 2006 Author Share Posted October 22, 2006 yes I tested in USA server and UK server the first response is after 1~2 sec but the second (UK) the response was 15~ sec, is it very strange because the host at UK is big compnay Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-112870 Share on other sites More sharing options...
GingerRobot Posted October 24, 2006 Share Posted October 24, 2006 Well it would seem that it is your host then. Perhaps you could contact them? Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-113606 Share on other sites More sharing options...
isaac_cm Posted October 25, 2006 Author Share Posted October 25, 2006 the crazy thing they claim nothing is wrong Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-114510 Share on other sites More sharing options...
Ninjakreborn Posted October 26, 2006 Share Posted October 26, 2006 The same with my host.www.bluehost.comthey did the same thing until I kept complaining, theya ren't going to likely admit there wrong's.The probably have so many people on one box, or a server hog, so it's making it run slow. Your only thing is to keep complaining to them or change hosts.What company is it, if it's bluehost then I can already tell you why. Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-114718 Share on other sites More sharing options...
fenway Posted October 26, 2006 Share Posted October 26, 2006 With a shared host, there's not much you can do. Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-114898 Share on other sites More sharing options...
isaac_cm Posted October 27, 2006 Author Share Posted October 27, 2006 finally I found someone have the same problem with memy host is www.names.co.ukand I have been complained several times I even put the same page on another USA server and show them the difference but they denyalthough I did not purchased a shared hostnow please tell me how I can be sure the host respond is fast with Ajax ?thanks Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-115321 Share on other sites More sharing options...
fenway Posted October 28, 2006 Share Posted October 28, 2006 You can't... and it's not just ajax, it's everything running on that box. Link to comment https://forums.phpfreaks.com/topic/12684-ajax-is-slow/#findComment-115907 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.