|
| |
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
Reducing bandwidth - 9/16/2004 10:32:43
I want to try to trim some of my bandwidth usage. My site is laden with graphics and I don't use CSS for layout so I have quite a bit of FrontPage code. Will reworking or eliminating some of the graphics help. I'm assuming, and please correct me if I'm wrong, that graphics loading into web pages take more bandwidth than code. For example, I have a header graphic on the majority of pages which, if removed, reduces a page load time about 11 seconds. Since it is in an include, it can easily be changed. thanks, gail
_____________________________
Digicamhelp - Easiest place on the web to learn about Digit@l Cameras & Photography
|
|
|
|
BobbyDouglas
Posts: 5456 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: Reducing bandwidth - 9/16/2004 11:55:46
I think there is a way in .htaccess to use compression. You might want to do some research on this. I do not know exactly what it does to the bandwidth, I assume it would lower it.
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
dpf
Posts: 7121 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: Reducing bandwidth - 9/16/2004 14:33:24
quote:
For example, I have a header graphic on the majority of pages which, if removed, reduces a page load time about 11 seconds. Since it is in an include, it can easily be changed. just remember that once the graphic is loaded for one page, it then resides in cache for all and doesnt need to be downloaded again
_____________________________
Dan
|
|
|
|
dpf
Posts: 7121 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: Reducing bandwidth - 9/16/2004 14:36:23
one thing to consider gail..... optimizing/compressing images means losing detail....its all about compromise. Your site is different than some...digital photograpy is your thing and it seems to me that losing clarity on your images via compression would be much more fatal for you than some others. afterall, if your site is about digital photography and your images are not crisp, that would be a turnoff. justa thought.
_____________________________
Dan
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: Reducing bandwidth - 9/16/2004 14:54:09
quote:
afterall, if your site is about digital photography and your images are not crisp, that would be a turnoff. You're absolutely right. I was thinking more of redoing some of them by resizing. I've saved all the source files so it won't take that much time. But when all is said and done, the amount of bandwidth saved is probably fairly insignificant. Increase bandwidth usage, hopefully, will also translate into increased income, then I can afford the extra expense. Thanks, all, for letting me massage my thinking cap. gail
_____________________________
Digicamhelp - Easiest place on the web to learn about Digit@l Cameras & Photography
|
|
|
|
Giomanach
Posts: 6095 Joined: 11/19/2003 From: England Status: offline
|
RE: Reducing bandwidth - 9/16/2004 15:09:04
Hey Gail I agree on the image optimisation bit, but you did mention: quote:
My site is laden with graphics and I don't use CSS for layout so I have quite a bit of FrontPage code. I'm talking about the CSS vs FP coding. And before anyone makes me walk the plank...I know I've already been scourned for this before. On the average FP built site, say 10 pages long, each filling a screen at the resolution of 1280x1024 without images would be around 100Kb in size. Your web is far from the average, and is hundreds, if not thousands of pages long. In general, dieting the FP HTML and replacing it with CSS based designs etc, would only knock off a few KB, but in your case....I think it would knock off a fair bit. It's just a case of, can you really be bothered to go through every page and add the reference to an external stylesheet, and remove all the FP coding? I mean, if you want help with it, I'm sure I could find the time tolend a hand here and there, but with the size of your site, even with two, or three people on it, it's still one hell of a task Just my $0.02 Dan
_____________________________
|
|
|
|
dpf
Posts: 7121 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: Reducing bandwidth - 9/16/2004 15:31:51
quote:
Your web is far from the average, and is hundreds, if not thousands of pages long. In general, dieting the FP HTML and replacing it with CSS based designs etc, would only knock off a few KB, but in your case....I think it would knock off a fair bit. It's just a case of, can you really be bothered to go through every page and add the reference to an external stylesheet, and remove all the FP coding? Dan; she already uses an external style sheet; just not for layout. actually, her code is far less than bloated than many. as to the number of pages, I doubt the average viewer is looking at all of the so the number of pages with bloated code would be more of a storage issue than a broadband issue. $.01
_____________________________
Dan
|
|
|
|
Giomanach
Posts: 6095 Joined: 11/19/2003 From: England Status: offline
|
RE: Reducing bandwidth - 9/16/2004 15:38:49
Dan, sometimes it pays to have two stylehseets, one for positioning and another for formatting etc, sometimes I find it easier to have thos two elements of the web separate. I know Gail already has an external linked to all pages, and that the coding is cleaner than most, but if you can keep the coding to a minimum...you will reep the benefits later on in life Dan
_____________________________
|
|
|
|
dpf
Posts: 7121 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: Reducing bandwidth - 9/16/2004 15:41:14
quote:
later on in life sort of like not smoking?
_____________________________
Dan
|
|
|
|
d a v e
Posts: 4088 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: Reducing bandwidth - 9/16/2004 17:15:58
excellent site btw
_____________________________
David Prescott Gekko web design
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: Reducing bandwidth - 9/16/2004 17:26:04
quote:
Otherwise it may be a case of rethinking the need for a large graphic in the design if bandwidth is a major concern But, as Dan pointed out, isn't the page cached and, if so, why would changing it matter in the scheme of things regarding bandwidth? He wrote: quote:
just remember that once the graphic is loaded for one page, it then resides in cache for all and doesnt need to be downloaded again gail
_____________________________
Digicamhelp - Easiest place on the web to learn about Digit@l Cameras & Photography
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: Reducing bandwidth - 9/16/2004 17:32:58
quote:
Your web is far from the average, and is hundreds, if not thousands of pages long. In general, dieting the FP HTML and replacing it with CSS based designs etc, would only knock off a few KB, but in your case....I think it would knock off a fair bit. It's just a case of, can you really be bothered to go through every page and add the reference to an external stylesheet, and remove all the FP coding? To be honest, I don't want to. I don't know CSS for positioning and I'm really not interested in learning it at this stage of my life. Though I don't have thousands of pages in the site, I do have hundreds and have plans to add lots more. I just can't fathom redoing it. I maintain the site because I love digital photography and have always been committed to educating others. I get a lot of satisfaction doing it because I enjoy it. I admit, the small but steady income I've started getting every month is nice. If a good deal of my livelihood depended on it, I'd take the other route. But it doesn't. I really appreciate your offer of help, though! gail
_____________________________
Digicamhelp - Easiest place on the web to learn about Digit@l Cameras & Photography
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: Reducing bandwidth - 9/16/2004 17:38:05
quote:
The main header image is 22k, so I think Id concentrate on making that smaller. Might be tough, as you mention above, to do that and retain the quality look that a photo site should have. I can make it smaller by making the graphic narrower rather than optimizing it so it looks like mush. Alternatively, I can rethink the entire header graphic and make changes accordingly...though I must admit that photography is about and by people...that's the message I want the graphic to "send." gail
_____________________________
Digicamhelp - Easiest place on the web to learn about Digit@l Cameras & Photography
|
|
|
|
dpf
Posts: 7121 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: Reducing bandwidth - 9/16/2004 20:58:48
quote:
With the main graphic, more visitors will generate more bandwidth. So while the current user may have it cached, new users, one off visitors etc wont good point...
_____________________________
Dan
|
|
|
|
dpf
Posts: 7121 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: Reducing bandwidth - 9/16/2004 21:09:01
quote:
new image looks fine i thought (!) the image had changed but wasn't sure.
_____________________________
Dan
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: Reducing bandwidth - 9/17/2004 8:33:10
quote:
Five - seven seconds doesn't sound like a lot! It is? Will it make much of a difference? Can someone help me understand this a little better. If I get 10,000 hits on, say, the home page, that's 50,000 - 70,000 seconds. Will it reduce broadband useage in any significant way? thanks, gail
_____________________________
Digicamhelp - Easiest place on the web to learn about Digit@l Cameras & Photography
|
|
|
|
prabodhanpotdar
Posts: 1 Joined: 9/17/2004 Status: offline
|
RE: Reducing bandwidth - 9/17/2004 10:01:32
Great site gail .. I am planning for the Sony P100 5.1 MP ..BTW Ia m a amateur astronomer from India I will require your help in Using it for astronomy Keep up the great work Prabodhan http://prabs4u.tripod.com
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: Reducing bandwidth - 9/17/2004 10:15:28
Thanks for you kind words, Prabodhan! quote:
I will require your help in Using it for astronomy Wowa! I am more than happy to help where I can, but using a digital camera for astronomy is way out of my league. However, one of the absolute best places something like this is at the forums at dpreview. www.dpreview.com Fabulous, active place; unequalled online help for the sort of info you will need. Check it out, too, before you by special lenses. gail
_____________________________
Digicamhelp - Easiest place on the web to learn about Digit@l Cameras & Photography
|
|
|
|
abbeyvet
Posts: 5095 From: Kilkenny Ireland Status: offline
|
RE: Reducing bandwidth - 9/17/2004 12:06:52
Comparing seconds in relation to bandwidth does not mean much - it is really dependant on the users connection and it may take one person 1 second to download 25KB and another 20 seconds, but both will use exactly the same amount of bandwidth. Bandwidth as it relates to hosting is measured in megabyte per period of time - or to me exact more usually Gigabytes per Month. To see the effect on a site of reducing page size is really quite difficult, as it so much depends on how often the pages are changed (and therefore how much of the site is cached) and on what proportion of the visitors are new visitors. Say you reduce a page (code, images, everything) by, to take a round number, 10KB. If that page now gets 1000 new visitors in a month then it will result in a bandwidth saving of 1000 x 10KB = 10,000KB or about 10MB. Obviously if you have small numbers of visitors and a reasonable bandwidth 10MB is neither here nor there and matters little. But if you were having 10,000 new visitors it would be 100MB saved, and if you had 100,000 it would be a gigabyte and so on. So it can become very significant as numbers grow. The other thing to bear in mind is that anything shaved off an image is worth it. Say you put up a new image that is 30KB in size. It will obviously have to be downloaded even by returning visitors, being new. So, suppose it is on a page which gets 1000 unique visitors in a month - just that image would use about 30MB that month. If you made it just a bit smaller and carefuly optimised it you could possible reduce it to 20KB, without anyone really noticing, but with a saving that month of 10MB. Multiply that accross a site and increase the traffic and it starts to make huge differences.
_____________________________
Katherine :: InKK Design :: InKK Domains
|
|
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
|
|
|