Re: efficient ajax calls using flash?

Eric Gross
2006-10-19T07:10:57Z

In other words, is it worth using the select statement from a result
statement instead of requerying that specific item using find(id)?

Eric Gross wrote:
> Hey guys,
>
> I do an ajax call to update a div in my view with a different partial.
> The new partial uses data that was originally queried when the page was
> loaded. It is kinda redundant to have to requery that record again.
>
> Is the best solution to use flash to pass the result set. I guess, my
> question is,
>
> Does flash get stored on the client side, or on the server side.
>
> If its only the client side then flashing would make sense.
>
> On the other hand, if I am just requerying the database using the
"ID"
> field, isn''t that ultra fast and takes very little resources where
it
> wont matter if I just requery for that specific result?