Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Why does most of page redraw with same layout?
Old 12-14-2004, 12:27 PM Why does most of page redraw with same layout?
danv's Avatar
Average Talker

Posts: 18
Trades: 0
How can I eliminate the flashing when I look at one or more related pages on the website: www.mtrservicescorp.com

All pages have the same layout.

E.g.: click the home and then services page. Everything below the header seems to re-draw everytime...?

I use 4 includes around the page borders.

What are the rules for re-drawing web pages? When do they redraw?

Thanks,
danv is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-14-2004, 01:49 PM
Rincewind's Avatar
Super Talker

Posts: 108
Trades: 0
You could use frames. However, there are so many problems with frames, that I would not advise it. The screen reloads every time you move form one page to another. When you open a new page, the browser grabs that page's html off the server. It then re-draws the screen for the new html. It can cach the images, but the html is different every time cause it's mixed in with the content. so you get a redraw for each page.
__________________
Q-4.net -
Please login or register to view this content. Registration is FREE

Stylegallery.co.uk -
Please login or register to view this content. Registration is FREE

Splodgy.com -
Please login or register to view this content. Registration is FREE
Rincewind is offline
Reply With Quote
View Public Profile
 
Old 12-14-2004, 02:01 PM
danv's Avatar
Average Talker

Posts: 18
Trades: 0
So you are saying in effect (I think) that I am wasting my time by trying speed up my web page download with includes? Any tricks to minimize download time? My page is about 50% includes, and it seemed to speed up when I used them...

So I guess web page byte size is the only way to minimize screen re-draws and flashing?
danv is offline
Reply With Quote
View Public Profile
 
Old 12-14-2004, 05:13 PM
Rincewind's Avatar
Super Talker

Posts: 108
Trades: 0
By includes, you mean Server Side Incudes or PHP/ASP includes. In which case the slow down the load speed of your pages. Though only by an minute amount. This is cause the web server has to peice together the jigsaw of includes into one finished html file before it can send it to the browser. This additional server load must result in a small amount of extra time.

To speed up page loads there is really one one thing to do - Make the pages smaller.

This can be done by:
- Using and external CSS file. Since this file is cached by the browser, it only has to download once. If you put your styles inline with the html, then it has to pull all that data every time.

- Minimise the size of your graphics. Use an optimiser to shrnik the file sizes. Also think about physical size, could a small tyling graphic in the background do the job instead of a large graphic?

- Clean up your html. If you use a wysiwyg editor, then there will be allot of html tags in there that don't need to be there.

- Remove extranious spaces and new lines between html tags. While it make the page easier to edit, each space and newline is actually another few bytes of code.

- Keep server loads low. Avoid anything that requires the server to do work. E.g. php, SSI and MySQL queries. Or at least keep them to a minimum.
__________________
Q-4.net -
Please login or register to view this content. Registration is FREE

Stylegallery.co.uk -
Please login or register to view this content. Registration is FREE

Splodgy.com -
Please login or register to view this content. Registration is FREE
Rincewind is offline
Reply With Quote
View Public Profile
 
Old 12-14-2004, 07:14 PM
NateDogg's Avatar
Extreme Talker

Posts: 163
Trades: 0
Quote:
Originally Posted by danv
So I guess web page byte size is the only way to minimize screen re-draws and flashing?
Pretty much, unless you use flash which was designed specifically to remove the "flash" of reloading the page.

I think includes are a good idea as they reduce code and they allow easier updating. I think the extra server time is a small price to pay for those benifits.
__________________
Nathan


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
NateDogg is offline
Reply With Quote
View Public Profile
 
Old 12-15-2004, 11:02 AM
danv's Avatar
Average Talker

Posts: 18
Trades: 0
I am using Apache Server Side Incudes.

mtrservicescorp.com shows this behaviour I described.

Thanks for the tips.

I do have the graphics optimized and use external css. (I do use a few style overwrites in my code which may slow it down like: <p style=...custom property... > ). I have no database stuff yet. I do have extra lines and spaces for readability - i could optimze that. Dreamweaver 2004 MX probably can do that fast for me.

I guess I could try to include text in the css. Does that work?

Do server side includes get treated the same for search ranking?
danv is offline
Reply With Quote
View Public Profile
 
Old 12-15-2004, 12:54 PM
Rincewind's Avatar
Super Talker

Posts: 108
Trades: 0
Quote:
I do have the graphics optimized
Have you considered using less graphics? For example, you menu has 13 graphics at 1.9kb each. That's about 24.7kb. The they all have rollovers. That's doubling it to 49.4kb. I have done entire sites in less that you are using in one page.

Course, most people with broadband these days don't bother so much with page size. However for people still on dial-up, your menu alone would take 8 seconds to load in.

Quote:
I guess I could try to include text in the css. Does that work?
No that doesn't work. The whole point of css is to sparate the content (text and images) form the presentation (font sizes, colours, margins, paddings etc.)

Quote:
Do server side includes get treated the same for search ranking?
Server side includes only affect things server side. They are effectivly invisable to any client viewing your site. Whither that client is a web browser or a spider, the SSI makes no difference to them.
__________________
Q-4.net -
Please login or register to view this content. Registration is FREE

Stylegallery.co.uk -
Please login or register to view this content. Registration is FREE

Splodgy.com -
Please login or register to view this content. Registration is FREE
Rincewind is offline
Reply With Quote
View Public Profile
 
Old 12-15-2004, 01:03 PM by using server side includes, the page is not friendly for crawlers?
danv's Avatar
Average Talker

Posts: 18
Trades: 0
So you are saying that by using server side includes, the page is not friendly for crawlers and I won't get as much ranking for the content? Because a crawler can't find the content in the SSI?

Quote:
Originally Posted by Rincewind
Server side includes only affect things server side. They are effectivly invisable to any client viewing your site. Whither that client is a web browser or a spider, the SSI makes no difference to them.
danv is offline
Reply With Quote
View Public Profile
 
Old 12-15-2004, 01:29 PM
NateDogg's Avatar
Extreme Talker

Posts: 163
Trades: 0
No he's saying that using SSI are fine. He says that the client (browser or spider) doesn't even know that you have SSI's.
__________________
Nathan


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
NateDogg is offline
Reply With Quote
View Public Profile
 
Old 12-15-2004, 03:58 PM
danv's Avatar
Average Talker

Posts: 18
Trades: 0
Thanks for spelling it out for me NateDogg A B C D E F G...
danv is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Why does most of page redraw with same layout?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.98840 seconds with 12 queries