Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Comments for: vance20040507

Message # 1023644:
Date: 01/04/05 04:29
By: Aaron
Subject: You still make a lot of HTTP requests

Each keypress where the valid length >= 2 means you need to make a call to generate a php page. The PHP processor will need to complete this transaction whether the browser wants the info any more or not.

SO if I put in a search of valid length 5 then I'll have the results for 2,3,4 and 5 length search all generated by the server but most are unused.

Just a thought for processor/SQL load. You could put a timeout on the keypress check where if its a valid length and time to keypresses is > x time then do the search.

Anyone know this to be untrue? Browser doesn't tell server to stop the page, also nothign to stop the PHP processor doing its thing, or SQL from doing the search which coudl be quite loading depending...

Previous Message | Next Message


Comments:
RE: I-frameVijeta Shenoy06/01/07 05:53
RE: I-framezubin09/26/05 05:57
RE: I-frameHadi09/10/05 00:34
Remotly run applicationsShoaib09/09/05 17:43
queryvinod04/29/05 02:13
You still make a lot of HTTP requestsAaron01/04/05 04:29
I-frameDonald Duemey12/11/04 09:27
GreatDid08/19/04 09:55
Superbjules08/01/04 15:56
Great Article!!Sam Powell07/23/04 18:40
RE: Use a hidden frame insteadDavid Vance07/09/04 02:37
RE: Excellent, but iframe works with IE onlyumm07/07/04 09:12
Use a hidden frame insteadCory Rauch06/22/04 10:21
RE: Excellent, but iframe works with IE onlyBob Neider05/26/04 12:22
If you're going IE only, why not use XMLhttp Neil Smith05/24/04 05:44
Excellent, but iframe works with IE onlyRay Chung05/20/04 14:36
Excellent tutJacob05/17/04 01:54
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.