|
| |
|
|
hzarabet
Posts: 1540 From: New Milford CT USA Status: offline
|
Forever to load! - 5/5/2001 20:16:00
Hi All:My home page is taking forever to load. I went to The Barnes & Noble site and there home page is about the same size as mine and theirs loads in segments, whereas with mine, you wait 30 seconds (eternity) and it all loads at once. So the question is, how can I get my home page to load in pieces. I assume it's a tables thing and I am afraud that you're going to tell me to rebuild my page Thanks all. http://www.signingshotline.com ------------------ www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
|
|
|
|
Nancy
Posts: 3626 Joined: 11/9/1999 From: Nebraska Status: offline
|
RE: Forever to load! - 5/5/2001 20:13:00
It is my understanding that a browser doesn't load a table until it reaches the ending table tag. So if you have your information in one large table, with nested tables inside, yes it will take a long time.If you were to 'stack' some tables, it would load in pieces, as you say, and possibly load a little faster. Nancy ------------------ Modern Fairy Tale: "And so the prince, determined to find the owner of the glass slipper,launched a home page on the World Wide Web." Mall of Alliance
|
|
|
|
hzarabet
Posts: 1540 From: New Milford CT USA Status: offline
|
RE: Forever to load! - 5/5/2001 23:37:00
The thing is, I do have my logo/navbar etc. all at the top of my page in a separate table. If I could at least get this to come up within a second or two, my new viewers would realize that there is a website here. I think I am losing a lot of "surfers" checking out my site because all they see is "white page" for almost 30 seconds. If you have a 56k modem, go to www.bn.com, the Barnes and Noble site. Little pieces of the site come up at a time after one or two seconds, even tough it may take 30 seconds for the whole page to load. This is what I would like with my site. ------------------ www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
|
|
|
|
Thomas Brunt
Posts: 6109 Joined: 6/6/1998 From: St. Matthews SC USA Status: offline
|
RE: Forever to load! - 5/5/2001 13:55:00
Maybe take your hitbox code outside of your tables? That hitbox logo sometimes takes forever to call from the server, and I don't think the table can draw until all the images have been called.
|
|
|
|
hzarabet
Posts: 1540 From: New Milford CT USA Status: offline
|
RE: Forever to load! - 5/5/2001 14:05:00
hmmm....good idea------------------ www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
|
|
|
|
hzarabet
Posts: 1540 From: New Milford CT USA Status: offline
|
RE: Forever to load! - 5/5/2001 14:21:00
OK...here's what I had and what I did. I had no-chache in my meta tags. I removed that back to the default FP meta setting. It sped things up, BUT now my banner ads are caching. Any way around having just the banner ads not cache?------------------ www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
|
|
|
|
hzarabet
Posts: 1540 From: New Milford CT USA Status: offline
|
RE: Forever to load! - 5/8/2001 17:04:00
Anyone? No cache just the banners? How about how to make your page load in little pieces at time instead of all at once?------------------ www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
|
|
|
|
Thomas Brunt
Posts: 6109 Joined: 6/6/1998 From: St. Matthews SC USA Status: offline
|
RE: Forever to load! - 5/8/2001 20:21:00
As for caching just banners. I hate to say it, but every once in a while Frames is a valid solution?As for loading page in stages, Nancy has the idea. You stack tables, and you avoid nesting tables wherever possible, and you never nest 3 deep.
|
|
|
|
Thomas Brunt
Posts: 6109 Joined: 6/6/1998 From: St. Matthews SC USA Status: offline
|
RE: Forever to load! - 5/8/2001 20:24:00
If you did frames, your links would all have target="_top" to make sure you get a fresh banner with every link.I've seen that done before, and I never understood why until now. I don't like that solution, however. I would remove as many graphics as possible and optimize the heck out of the ones that are left.
|
|
|
|
hzarabet
Posts: 1540 From: New Milford CT USA Status: offline
|
RE: Forever to load! - 5/9/2001 20:12:00
You know something, I never used frames either (prejudiced I guess). But now it may be interesting. With Frames:1. My page will at least appear to load quicker. People will not just see "white" for 30 seconds and leave. They know it ain't dead! 2. I can use a single banner ad call for all my pages. Now, advertisers will get exposure on all pages. Now the questions (problems?) 1. How will this effect search engines? I am getting good SE results and don't want to rock the boat. 2. How will this affect my index page? Do I name the "total" framed page www.signingshotline.com and my index body www.signingshotline.com/index.asp. 3. Will this affect people who have my site bookmarked? Will the bookmarked page come up "out of frame"? 4. I assume all browsers from => Version 4 will accept frames. This is just off the top of my head. Any other potential problems? I think I may go for this if these problems aren't really problems! ------------------ www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
|
|
|
|
Mojo
Posts: 2441 From: Chicago Status: offline
|
RE: Forever to load! - 5/9/2001 20:31:00
I noticed that you listed ...index.asp as a page. Are you using asp on your homepage?If so, do you have buffering turned off? Normally, you would want this on, but for time consuming pages, if you turn it off it will start sending part of your output while the rest is loading. You could also keep the buffer on (the default in IIS5) by response.buffer=true and then use response.flush at intelligent points in your page. This will force content to be sent to the user. Joe
|
|
|
|
hzarabet
Posts: 1540 From: New Milford CT USA Status: offline
|
RE: Forever to load! - 5/9/2001 20:47:00
This sounds good. Is this buffering setting on the server or Frontpage? I am hosted, so i couldn't change the server.------------------ www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
|
|
|
|
Mojo
Posts: 2441 From: Chicago Status: offline
|
RE: Forever to load! - 5/9/2001 20:14:00
quote: This sounds good. Is this buffering setting on the server or Frontpage? I am hosted, so i couldn't change the server.
For .ASP pages only. You can make the changes to individual pages. If you wanted to try Response.Buffer=False to see how it works on your page just type it in immediately after option explicit at the top of your page. You are using option explicit, right? code:
<% Option Explicit %> <% Response.Buffer=False %>
The buffer is turned on by default in IIS5. You would use Response.Flush at points in your page where the code is finished (like the end of a table or script). Place on the line below the chuck on your page you wish to send. NOTE: the buffer has to be turned on in order to use Response.Flush or you will get an error. There are some other things you can do to improve the speed of an ASP page. If you are sure that you will not use any session or application variables to maintain a users state, then use Enablesessionstate=False. You should avoid using the session variables as much as possible. Use Response.Buffer=True if you are not on IIS5. Although, in your case this may be an exception. Use option explicit to declare your variables before use. This also speeds up your page. You then MUST dim all your variables. So, at the top of your .ASP page you could put:
code:
<@ Enablesessionstate=False %> <% Option Explicit %> <% Response.Buffer=True %>
and use response.flush where you need it. Your homepage is long and there is a lot of white space in it. You could MAKE A COPY, and then "fold" your page up. For example, this comes from your source code, I have folded it up: code:
<body bgcolor="#FFFFFF"><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><!--msnavigation--><td valign="top"> <div align="center"><center><table border="0" cellpadding="0" width="100%" cellspacing="0"><tr><td width="30%" colspan="3" height="0"> <table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td width="30%" height="0"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td width="33%" rowspan="3"><p align="left"><img border="0" src="images/logo1.gif" width="233" height="95"></p> </td><td width="67%" height="22" colspan="2"><p align="right"><font face="Arial" size="2"><b>Wednesday, May 09, 2001</b></font></td></tr> </center><tr><td width="67%" height="26" colspan="2" valign="top"><p align="right"><img border="0" src="images/updated.gif"></td></tr><center>
Code readability goes to the trash, but speed can go way up! Pull everything to the left and then fold up. I did this yesterday to a file and shrunk it size by almost 50%. Not only is the file size smaller, but the fewer lines of code run faster on the browser. The next thing I would do would be work on any database calls you may or may not have on the front page... Joe
|
|
|
|
hzarabet
Posts: 1540 From: New Milford CT USA Status: offline
|
RE: Forever to load! - 5/9/2001 20:34:00
Man did you give me a LOT to chew on!!!!I only know enough asp to get me in trouble. It has been Spookuy who has guided me through much of my asp site building. No, I do not use option explicit. I am really only using asp on the home page for databases. When you "fold up a page", do you manually back out all the white space? I don't think so. Is there a "button" that does this? Just when I think I am finally getting a grip on this stuff, I again realize how much I don't yet know. Thank you for all this info Joe. Keep talking, I'm all ears (and questions). Howard
------------------ www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
|
|
|
|
Mojo
Posts: 2441 From: Chicago Status: offline
|
RE: Forever to load! - 5/9/2001 23:16:00
Howard,Yeah, I fold it by hand... bummer. Sometimes, it does not gain much more than a reduction in file size of 10% or so. Other times much more. Yesterday I had a 50% reduction. I have had 60% reductions... FP200 code can get quite bloated. If you had a button that would do it automatically, I would buy it!  Using option explicit can bring a performance increase of around 10%. Enablesessionstate=False can be set on the server for bigger gains, but a per page use can yield 2%. Response.Buffer=True can give up to 13%. Depending on how your DB calls are set up there may be some big performance increases hidden in there. BUT, if Spooky has been setting them up, I am sure there is nothing left to bleed.
|
|
|
|
Mojo
Posts: 2441 From: Chicago Status: offline
|
RE: Forever to load! - 5/10/2001 20:02:00
I read their info. I am not sure they do the same thing as what I was talking about. I looked at the sites using this product and none of their source code was "folded". They also mention that their product could cause your pages to act differently. It is probably a cool product, but you would have to be very careful...
|
|
|
|
hzarabet
Posts: 1540 From: New Milford CT USA Status: offline
|
RE: Forever to load! - 5/10/2001 20:50:00
I had downloaded their free lite version. It doesn't work on asp (only the pay version does) In any case, by using this shrinker, it removes all white spaces on the source code. The page is just one string of code. I looked at a couple of the sites that they said use their product and I agrre, nothing looked like the results I had on html pages. And by the way, on the .htm pages, it did work fine with FP200 (from my very LIMITED testing).You may want to try their free version just to check it out. ------------------ www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
|
|
|
|
Mojo
Posts: 2441 From: Chicago Status: offline
|
RE: Forever to load! - 5/10/2001 20:44:00
Howard,Thanks for the information. I will check them out. By the way... WERE ON FIRE! Joe
|
|
|
|
hzarabet
Posts: 1540 From: New Milford CT USA Status: offline
|
RE: Forever to load! - 5/10/2001 20:45:00
I would get out first before you check them out!------------------ www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
|
|
|
|
hzarabet
Posts: 1540 From: New Milford CT USA Status: offline
|
RE: Forever to load! - 5/10/2001 14:11:00
Checked it out. That looks good too. BUT, I think it needs a little. I wasn't working in NN and needing tweaking IE. I still don't have it working right.Thanks! ------------------ www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|