I can find Rails references to chunked encoding for uploads but not downloads. Apparently lots of mobile devices use this aspect of RFC-2616<http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6.1>that Nginx, Lighttpd, Mongrel, and Thin didn't implement which caught a lot of people by surprise. (apache2 appears to be fine)
Has anyone got pointers on how to use chunked encoding for downloads? On Wed, Apr 14, 2010 at 5:02 PM, Clifford Heath <[email protected]> wrote: > > On 14/04/2010, at 4:53 PM, Mike Bailey wrote: >> >> Nathan de Vries blogged that Passenger added Chunked Transfer Encoding support in April 2009. >> I'm looking for an example of how to use it in Rails now... > > Doesn't the Rack API make it impossible? > > Clifford Heath. > >> >> - Mike >> >> On Wed, Apr 14, 2010 at 3:57 PM, Keith Pitt <[email protected]> wrote: >> Awesome video, cheers for the link. >> >> Chunked encoding sounds like a really good way to improve page rendering. Is there ways to do this in Rails? >> >> On Tue, Apr 13, 2010 at 8:28 PM, Mike Bailey <[email protected]> wrote: >> http://www.youtube.com/watch?v=WFsQvcdmLxc&feature=channel >> >> Latency is super relevant to Aussies. Connections are expensive and our users pay dearly for extra requests sent across the pond. >> >> Marissa puts it well, "a small image costs a dollar and a big image costs a dollar and a penny". >> >> Hope others find this interesting. >> >> - Mike >> >> -- >> You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to [email protected]<rails-oceania%[email protected]> . >> For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en. >> >> >> -- >> You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to [email protected]<rails-oceania%[email protected]> . >> For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en. >> >> >> -- >> You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to [email protected]<rails-oceania%[email protected]> . >> For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en. > > -- > You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to [email protected]<rails-oceania%[email protected]> . > For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en.
