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 Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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 !!! Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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.