homepage Welcome to WebmasterWorld Guest from 54.196.62.23
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
ASP.Net on IIS buffering cannot be disabled
ASP.Net pages on IIS 5 & IIS 6 buffer despite disabling the feature
Ben_Graham

10+ Year Member



 
Msg#: 1554 posted 11:46 pm on Mar 10, 2004 (gmt 0)

We have a busy site running ASP.Net on IIS 6. We've just upgraded our web server (changing from IIS 6 to IIS 5) and greatly increased our horsepower. Doing this has brought something to our attention: Buffering seems to be turned on on our web site.

We have disabled buffering in the App Options, and have double-checked and the problem exists on our old IIS 5 server as well.

The result for the user is this: When you pull up a page on the site you get a blank page until the site is fully downloaded, then it renders instantly on the browser. If there are lots of images (we're e-commerce and have pages with multiple product shots) some of them will not finalize until after this first rendering.

For people on dialup this does not produce an acceptable experience. Any ideas? We're going back through our ASP.Net code to look for any response.buffer=true lines.

 

TheDave

10+ Year Member



 
Msg#: 1554 posted 2:29 am on Mar 12, 2004 (gmt 0)

Have you tried using response.flush? I know it's not exactly the same as turning the buffer off but it should work.

Another thing I just thought of - is all your content inside 1 big table? I believe browsers won't render a table until the </table>. If you are using a table perhaps you should try without and see if it's working then.

Krapulator

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1554 posted 5:17 am on Mar 12, 2004 (gmt 0)

I think TheDave has hit the nail on the head. If you press the stop button on your internet explorer before the page is completely loaded and then do a "View Source" - you will be able to see that half of the code has downloaded, but the page has not been rendered because it has not reached the end of the table code.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved