On Nov 7, 10:57 pm, Samnang <[email protected]> wrote: > Do you any ideas on how to optimize this problem?
Does it need to be XML? JSON is much lighter and faster. You can also use page caching with REST, so subsequent request is just like Apache serving flat file. Maybe try to use some sort of compression too? I'm betting the bottleneck is getting the data over HTTP and loaded by the client, NOT AR getting it out of DB and building XML. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

