Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
compressing chunked responses
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matthew Hadley  
View profile  
 More options Nov 12 2012, 1:55 am
From: Matthew Hadley <matthew.had...@gmail.com>
Date: Sun, 11 Nov 2012 22:55:28 -0800 (PST)
Local: Mon, Nov 12 2012 1:55 am
Subject: compressing chunked responses

If express is streaming a response, is it possible to compress the chunks?
I would like to be able to flush parts of a webpage as they are available
to send to the client and to send those chunks compressed (when the client
supports them). When I have express using compress, however, it does not
send the response to the client until the page is completely rendered. If I
turn compress off, then chunk streaming works again.

Please have a look at this use case as a demonstration:
https://gist.github.com/4057863

Thanks for any help!

Matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Hadley  
View profile  
 More options Dec 3 2012, 12:57 am
From: Matthew Hadley <matthew.had...@gmail.com>
Date: Sun, 2 Dec 2012 21:57:13 -0800 (PST)
Local: Mon, Dec 3 2012 12:57 am
Subject: Re: compressing chunked responses

Has nobody else encountered this? Seems like it would be a common issue for
flushing the response. Would I be better trying to seek help on the connect
middleware that does the compression?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »