Search the web
Sign In
New User? Sign Up
exceptional-performance · Exceptional Performance
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
flushing as mentioned in the "Best Practices"   Message List  
Reply | Forward Message #1101 of 1295 |
Re: flushing as mentioned in the "Best Practices"

--- In exceptional-performance@yahoogroups.com, "gobezu@..." <gobezu@...> wrote:
>
> http://developer.yahoo.com/performance/rules.html#flush
>
> Implementing my upcoming site I have gone through this very helpful set of
guidelines and found myself stack at the point of flushing which I feel,
although is promising considering enhanced user experience, contradicts with
earlier set rules of:
> 1. compression
> 2. content length
>
> These 2 issues among others are also mentioned here:
>
http://stackoverflow.com/questions/352759/php-flush-how-often-and-best-practises\
/352787

>
> So I am now wondering if someone have been able to achieve implementing the
rule of early flushing and still maintained compression, as for content length I
don't see how that can ever be achieved so lets forget that part. If so please
let me know how.
>
> If not, I do believe I make a better choice to prefer compression above
flushing, or any data that might shade light on this issue?
>
> Thanks
>

With "Transfer-Encoding: chunked" header you can send compressed contents in
more parts.

Also, consider using ob_flush() alongside flush() so that the buffered content
is flushed and sent compressed.

It works.





Fri Jul 3, 2009 7:51 pm

dereck009
Offline Offline
Send Email Send Email

Forward
Message #1101 of 1295 |
Expand Messages Author Sort by Date

http://developer.yahoo.com/performance/rules.html#flush Implementing my upcoming site I have gone through this very helpful set of guidelines and found myself...
gobezu@...
gobezu...
Offline Send Email
Jul 3, 2009
6:25 pm

... With "Transfer-Encoding: chunked" header you can send compressed contents in more parts. Also, consider using ob_flush() alongside flush() so that the...
dereck009
Offline Send Email
Jul 3, 2009
7:53 pm

thanks dereck009 with your words I went out searching for more and found this page: http://www.stevesouders.com/blog/2009/05/18/flushing-the-document-early/ ...
gobezu@...
gobezu...
Offline Send Email
Jul 4, 2009
4:46 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help