[advanced search]
Results from the most recent live auction are here.
21 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Webmaster Tutorials
User Name
Password

Old 09-09-2007, 10:22 PM   · #1
-Nick-
I'll do it
 
-Nick-'s Avatar
 
Name: Keral. Patel.
Location: India
Trader Rating: (100)
Join Date: Dec 2005
Posts: 5,560
NP$: 11012.15 (Donate)
-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute
Member of the Month
September 2007 Adoption
Making websites load faster

This is not a complete tutorial for making the websites faster. But trying to make a thread with tips of making a website load faster.

Now what are the benefits of loading a site faster that everybody knows.

So I will start with some tips here.

1) Choose good image formats and optimize them for size and quality.

2) If you are using php then you can use compression with putting the below code at the very start of the page. Or in a script you can put this in header part.

PHP Code:
<?php
ob_start
( 'ob_gzhandler' );
?>


Keep posting more tips

Thanks.


Please register or log-in into NamePros to hide ads
__________________
-Nick- is offline   Reply With Quote
Old 09-09-2007, 10:24 PM   · #2
~ Cyberian ~
CyberianDomains
 
~ Cyberian ~'s Avatar
 
Name: Cy
Location: SoCal
Trader Rating: (66)
Join Date: Apr 2004
Posts: 3,932
NP$: 1032.00 (Donate)
~ Cyberian ~ has a reputation beyond repute~ Cyberian ~ has a reputation beyond repute~ Cyberian ~ has a reputation beyond repute~ Cyberian ~ has a reputation beyond repute~ Cyberian ~ has a reputation beyond repute~ Cyberian ~ has a reputation beyond repute~ Cyberian ~ has a reputation beyond repute~ Cyberian ~ has a reputation beyond repute~ Cyberian ~ has a reputation beyond repute~ Cyberian ~ has a reputation beyond repute~ Cyberian ~ has a reputation beyond repute
Member of the Month
January 2006Member of the Month
July 2006
Nice one -Nick-, thanks!!!!!

Cy
__________________
Share your knowledge, it's a way to achieve Immortality.
~ Cyberian ~ is offline  
  Reply With Quote
Old 09-10-2007, 01:20 AM   · #3
-PS-
NamePros Regular
 
-PS-'s Avatar
 
Name: Justin
Location: Sydney
Trader Rating: (17)
Join Date: Jun 2006
Posts: 250
NP$: 5.95 (Donate)
-PS- will become famous soon enough-PS- will become famous soon enough
3)plan your layouts in advance, and try to minimize your css and gfx.
4) use external css, and dont imbed it into your pages.
-PS- is offline   Reply With Quote
Old 09-10-2007, 02:16 AM   · #4
shockie
Senior Member
 
shockie's Avatar
 
Trader Rating: (59)
Join Date: Dec 2006
Posts: 3,344
NP$: 1617.20 (Donate)
shockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant future
5) remove redundant formatting and tags - especially if you're using a wysiwyg editor
__________________
- shockie
████ Watch FREE Domain Videos By Gurus ████
Cheap Web Hosting - 99.9%+ Uptime, Unlimited add-ons domains | From $2
Available Domain Names, Development and Investment Guides + Portfolio
shockie is offline   Reply With Quote
Old 09-10-2007, 09:08 AM   · #5
DylanButler
NamePros Regular
 
DylanButler's Avatar
 
Name: Dylan Butler
Location: San Diego, CA
Trader Rating: (38)
Join Date: Jan 2006
Posts: 695
NP$: 0.00 (Donate)
DylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to behold
Yahoo's 13 Rules to make web sites load faster:

1. Make Fewer HTTP Requests
2. Use a Content Delivery Network
3. Add an Expires Header
4. Gzip Components
5. Put CSS at the Top
6. Move Scripts to the Bottom
7. Avoid CSS Expressions
8. Make JavaScript and CSS External
9. Reduce DNS Lookups
10. Minify JavaScript
11. Avoid Redirects
12. Remove Duplicate Scripts
13. Configure ETags
__________________
-Dylan Butler

Coming soon: examp
DylanButler is offline   Reply With Quote
Old 09-16-2007, 05:26 AM   · #6
lee101
NamePros Regular
 
Name: Lee
Location: United Kingdom
Trader Rating: (8)
Join Date: Mar 2006
Posts: 344
NP$: 2.90 (Donate)
lee101 is a jewel in the roughlee101 is a jewel in the roughlee101 is a jewel in the rough
6)Remove large areas of whitespace (such as where there are indented tags)
__________________
http://bypasstopsite.com - Submit your proxy!
http://biggertwitter.com - Make twitter a bit bigger!
Currently Developing - Linux Screenshots
lee101 is offline   Reply With Quote
Old 09-17-2007, 11:15 AM   · #7
RaptorRex
NamePros Member
 
RaptorRex's Avatar
 
Trader Rating: (0)
Join Date: Dec 2004
Posts: 90
NP$: 172.00 (Donate)
RaptorRex is an unknown quantity at this point
There is a time and place for png, gif or jpg. Actually, except for animation I don't know any time to use gif (png has better compression). But onwards...first give some background info...

Generally, for photos use jpg.
For line art (drawings, logos etc) use png.

For jpegs you can set the compression ratio. There is no standard range for this ratio; some graphic programs use 0-255, some use 0%-100%. I find 80% (or 80% of 255) to be a good quality but a bit large (file size). Quality goes down because jpeg compression is "losey".

PNG files are not "losey" so the compression is not as good for a photograph as a jpeg but the PNG image is cleaner. PNG is worth consideration for a small photo where you want a clean non-losey look, and a small file size.

Now to knock your photo sizes down to 1/2 size you can set your PNG files to be palette based rather than 24-bit. For a photograph, this will affect image quality in a different way than jpeg does. For PNG files, quality loss this means fewer colours in the image. For very small photos this color loss will make no noticable difference at all.

Also, even if you are using PNG for line art, be sure to check its size if it is paletted. It will almost surely be smaller than the 24-bit version and it is possible for art of few colours to shrink down to 1/8 size.

I use a free program called GIMP (gimp.org). It give great control over image creation of many different formats and is a great tool to learn and try things out.
__________________
http://UpWithABang.com/clips - free mail forms, guestbooks, and more
http://UpWithABang.com/developer-resources.html - for web tutorials, how-tos, and more
Free game download: http://UpWithABang.com/52Pickup - it's fun. Trust me. I'm a developer.
RaptorRex is offline   Reply With Quote
Old 09-18-2007, 01:43 PM   · #8
DylanButler
NamePros Regular
 
DylanButler's Avatar
 
Name: Dylan Butler
Location: San Diego, CA
Trader Rating: (38)
Join Date: Jan 2006
Posts: 695
NP$: 0.00 (Donate)
DylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to behold
PNG's are lossless, thus large in filesize, and IE6- doesn't support transparency (without some filters). I seldom find a case where a PNG beats using GIF or JPG (on the web). We're talking microseconds here so it really boils down to preference.
__________________
-Dylan Butler

Coming soon: examp
DylanButler is offline   Reply With Quote
Old 09-18-2007, 08:26 PM   · #9
RaptorRex
NamePros Member
 
RaptorRex's Avatar
 
Trader Rating: (0)
Join Date: Dec 2004
Posts: 90
NP$: 172.00 (Donate)
RaptorRex is an unknown quantity at this point
Originally Posted by DylanButler
PNG's are lossless, thus large in filesize, and IE6- doesn't support transparency (without some filters). I seldom find a case where a PNG beats using GIF or JPG (on the web). We're talking microseconds here so it really boils down to preference.



As I said in different words:
Quote:
PNG files are not "losey"

("losey" is a word used in the technical literature.)

And IE does support transparent PNGs to the same degree they support transparent GIFs. IE does NOT support the alpha channel however it does support a transparent palette entry.

I just posted examples on my site: http://upwithabang.com/png-transparency.html

There you can see a transparent PNG that works in IE following the method I described.
__________________
http://UpWithABang.com/clips - free mail forms, guestbooks, and more
http://UpWithABang.com/developer-resources.html - for web tutorials, how-tos, and more
Free game download: http://UpWithABang.com/52Pickup - it's fun. Trust me. I'm a developer.
RaptorRex is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

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
Forum Jump


Site Sponsors
EscrowDNS Find out how! Traffic Down Under
Advertise your business at NamePros
All times are GMT -7. The time now is 09:18 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0