3 ms·
A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.
by troels 17y ago
A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.
Script: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js:1788 http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js:...
---
Why are the results loaded through javascript? can't they just be rendered server side?
I like the name.
- Oompa 17y agoBecause then the page response would take a few seconds. We figured this was undesirable.
- thomaspaine 17y agoIt looks like the results are being loaded with independent ajax requests to each product database. If this was just all done server side, you'd have to wait until all of these requests finished loading instead of having them appear on the page incrementally. Most people don't want to wait 10 seconds for a page to load.
- troels 17y agoI see. But there must be something more to it, because an asynchronous request shouldn't lock up the browser. Maybe you could use the server as a proxy between the browser and the search-site. It would still load asynchronous, but it would be much swifter. That would also allow you to cache the results for common queries.