It depends on the search result size, or the size of the table you are
querying.

Bandwidth usage will also factor in if you will be sending large result
set and filter down using the client.

That's why AJAX is embraced by developers because it minimized
bandwidth usage when querying multiple page results.

But if the result size is constant for a large period of time it can be
compressed and cached and the client will do all the querying in a
single request.

On Dec 1, 9:46 pm, "TWIOF" <[EMAIL PROTECTED]> wrote:
> Hello everyone, my question today regards a search system I'm making.
> If I retrieve a bunch of results and and want to refine them should I
> submit a new request to the database OR filter the array?
>
> Which method is better for the server and response time of the page.
> What would you guys do?
> 
> Cheers
> 
> TWIOF


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to