Reply
Web Design techniques
Old 06-28-2006, 06:05 PM Web Design techniques
kline11's Avatar
King Spam Talker

Posts: 1,312
Name: John
Location: USA
What techniques do you use to create faster download times?

Here are a few ways:
1. Use CSS
2. Avoid Tables
3. Call JavaScript externally
4. Crunch image sizes
5. Keep images to a minimum

What else?
kline11 is offline
Reply With Quote
View Public Profile Visit kline11's homepage!
 
When You Register, These Ads Go Away!
Old 06-28-2006, 07:21 PM Re: Web Design techniques
blue-dreamer's Avatar
Webmaster Talker

Posts: 723
Location: Middle England
Try to avoid hosts with overcrowded servers!
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 06-28-2006, 07:51 PM Re: Web Design techniques
vangogh's Avatar
Post Impressionist

Posts: 8,946
Name: Steven Bradley
Location: Boulder, Colorado
kline I use all of the above. I find the number and size of images to be the main culprit. You can save a little time just by eliminating whitespace from your code. I know the standard for css is something like:

body {
padding:0;
margin:0;
width:100%;
}

but I'll always write it like:

body {padding:0; margin:0: width:100%}

It won't save a huge amount, but I have shaved a half second or so off the download time (over 56k) just by removing whitespace in some large css and html files.

Along the same lines I try to use shortcuts in my css so:

border:1px solid red instead of border-width:1px; border-style:solid; border-color:red

Again not a huge benefit, but if you do that throughout it can save some file size an download time. I try to minimize whitespace in all the html, css, and javascript I use. I keep just enough so it's readable.

I still find images by far to be the single largest contributor to slow download times (Flash too obviously) I'm always looking for ways to get rid of an image with some code or just find the minimum image I need to make something work.

Have you ever seen the site http://www.websiteoptimization.com/?

I read their book years ago when I was first getting started developing sites and there was a lot of good tips in there. Probably things you already know, but maybe there's a couple new things in there.

I've also discovered that it helps for me to think about download times while designing the look of the site. I can make decisions based on how fast or slow something will download before it gets to the design. In fact I'm usually thinking how I'll develop every element I add to a design while I'm still in Photoshop. I can often catch potential problems in the design and either get rid of it or adjust things a little to help later with the code.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum

Last edited by vangogh : 06-28-2006 at 07:52 PM.
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Web Design techniques
 

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

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


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


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

 


Page generated in 0.11742 seconds with 12 queries