Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Showing some sections of a page while others are still downloading

Reply
Thread Tools

Showing some sections of a page while others are still downloading

 
 
=?Utf-8?B?QW5keQ==?=
Guest
Posts: n/a
 
      06-14-2006
Hi,
We have a few rather heavy pages and would like to speed up the 'perceived'
download time by rendering some sections of the page which are ready to be
shown while sill awaiting other parts of the page (e.g. which rely on longer
retrieval from a database).

How would I go about doing this? We're using ASP.net 1.1..

Many thanks for any help or advise.
Andy
 
Reply With Quote
 
 
 
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      06-14-2006
how easy this is depends on the structure of your page. the browser parses
the html and renders it. for it to render before the structure is
downloaded, it must be simple. the parts you want display must be above
those you don't. don't dangle layout across sesctions. avoid tables, or
output the complete table. be sure to turn page buffering off, and do a
response.write of the completed sections.

you can use frames and bust the page into fast parts and slow parts. you
coudl also use an ajax approach, and have client script call back for the
slow parts and render the html.

-- bruce (sqlwork.com)



"Andy" <> wrote in message
news:8DCEB740-3783-4FDA-9AB8-...
> Hi,
> We have a few rather heavy pages and would like to speed up the
> 'perceived'
> download time by rendering some sections of the page which are ready to be
> shown while sill awaiting other parts of the page (e.g. which rely on
> longer
> retrieval from a database).
>
> How would I go about doing this? We're using ASP.net 1.1..
>
> Many thanks for any help or advise.
> Andy



 
Reply With Quote
 
 
 
 
=?Utf-8?B?QW5keQ==?=
Guest
Posts: n/a
 
      06-15-2006
Thanks for the reply Bruce.
Alas the pages are quite complex but I'll take on your recommendations and
give it a go.
Cheers!

"bruce barker (sqlwork.com)" wrote:

> how easy this is depends on the structure of your page. the browser parses
> the html and renders it. for it to render before the structure is
> downloaded, it must be simple. the parts you want display must be above
> those you don't. don't dangle layout across sesctions. avoid tables, or
> output the complete table. be sure to turn page buffering off, and do a
> response.write of the completed sections.
>
> you can use frames and bust the page into fast parts and slow parts. you
> coudl also use an ajax approach, and have client script call back for the
> slow parts and render the html.
>
> -- bruce (sqlwork.com)
>
>
>
> "Andy" <> wrote in message
> news:8DCEB740-3783-4FDA-9AB8-...
> > Hi,
> > We have a few rather heavy pages and would like to speed up the
> > 'perceived'
> > download time by rendering some sections of the page which are ready to be
> > shown while sill awaiting other parts of the page (e.g. which rely on
> > longer
> > retrieval from a database).
> >
> > How would I go about doing this? We're using ASP.net 1.1..
> >
> > Many thanks for any help or advise.
> > Andy

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to encrypt some sections in web.config Olivier MATROT ASP .Net Security 2 10-04-2007 12:32 PM
function-sections and data-sections option in gcc Raman C Programming 6 08-03-2007 10:40 AM
Scrolling some table rows while locking others. Peter Rilling ASP .Net 1 05-11-2005 03:50 PM
Showing some activity while caching a database =?Utf-8?B?S2VubmV0aCBQ?= ASP .Net 3 11-07-2004 11:43 AM
Getting "The Page cannot be displayed" on some machines but not others with ASP.NET pages R. G. ASP .Net Security 2 07-08-2004 08:37 PM



Advertisments