As far as I know there is no plans to make it the default, but nothing
stops you from using ActionController::Live to stream JSON as soon as you
generate it.

On Thu, Nov 1, 2012 at 3:14 PM, Rodrigo Rosenfeld Rosas
<[email protected]>wrote:

> I have some pretty big data to be encoded to JSON in my application and it
> would be faster if rendering my data as JSON could be done with a stream
> response.
>
> So, if the network is the bottleneck, the clients wouldn't notice some
> seconds of delay before starting to receive the JSON response that is
> required for the server to process JSON encoding before starting to send it
> to the client...
>
> Are you considering any kind of optimization like this for Rails 4?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To post to this group, send email to 
> rubyonrails-core@googlegroups.**com<[email protected]>
> .
> To unsubscribe from this group, send email to
> rubyonrails-core+unsubscribe@**googlegroups.com<rubyonrails-core%[email protected]>
> .
> For more options, visit this group at http://groups.google.com/**
> group/rubyonrails-core?hl=en<http://groups.google.com/group/rubyonrails-core?hl=en>
> .
>
>


-- 
Piotr Sarnacki
http://piotrsarnacki.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en.

Reply via email to