I think it eats up more system resources than anything else since sending a request and having it fetched back uses up more of the server bandwidth, but to actually retrieve the information from a database on the server end would use up a ton of resources. Only for seconds or milliseconds at most, but if a lot of people search at the same time or do database extensive requests then it can add up.
Comments