Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to make my homepage more efficient

Status
Not open for further replies.

hallm

Programmer
Jun 11, 2000
159
US
My page has information that is being listed from several different record sets.&nbsp;&nbsp;I'm having a problem with it loading too slow.&nbsp;&nbsp;One of the reasons is that I have a side banner of ads that is loading before all of the vbcode is run.&nbsp;&nbsp;The ads use a form of javascript to show.&nbsp;&nbsp;(Which is painfully slow and once I get my database fully converted to access / asp, I will change the ad system also.&nbsp;&nbsp;Until then is there any way that I can set the page to load the ads last?&nbsp;&nbsp;The page is at <A HREF=" TARGET="_new"> if you want to test it.
 
I suggest that u use response.flush method so that the person will get his data in one shot on the window <p>Unicorn11<br><a href=mailto:webmaster@tripmedia.com>webmaster@tripmedia.com</a><br><a href= > </a><br>Hi there it all likeminded fellows!!!!!!
 
I wonder if you can use Response.flush at key positions of the site, so that it get sent back in parts, but the parts dont look unformated and messed up. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
 
How is the Response.flush method used
 
at the top of your page right after the <br>&lt;%@Language=VBscript%&gt;<br>you set Response.Buffer = True<br>this makes it where no data is sent back to the client untilyou flush it<br><br>so if all that was spit back out is &lt;HTML&gt;<br>then you do a flush, then &lt;HTML&gt; goes back, it buffers the data until you are ready . you must use Response.end after the flush, if you dont want it to process the rest of the page, my sugesstion was to possibly do several flushing (after one flush, it'll buffer up data after that point as well) so that you can show data, but in an organized manner. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top