NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Webmaster Tutorials
Reload this Page Making websites load faster

Webmaster Tutorials Instructional webmaster-related how-to's and tutorials.

Advanced Search
2 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 09-09-2007, 10:22 PM THREAD STARTER               #1 (permalink)
I'll do it
 
-Nick-'s Avatar
Join Date: Dec 2005
Location: India
Posts: 6,939
-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness
 


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
????: NamePros.com http://www.namepros.com/webmaster-tutorials/372269-making-websites-load-faster.html
ob_start
'ob_gzhandler' );
?>
Keep posting more tips

Thanks.
-Nick- is offline  
Old 09-09-2007, 10:24 PM   #2 (permalink)
Senior Member
 
Cyberian's Avatar
Join Date: Apr 2004
Location: Emerald Triangle
Posts: 4,592
Cyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond repute
 

Member of the Month
January 2006Member of the Month
July 2006

Nice one -Nick-, thanks!!!!!

Cy
__________________
Remember who your loyalties are divided between,
and choose for the right reasons who deserves them.
Cyberian is offline  
Old 09-10-2007, 01:20 AM   #3 (permalink)
NamePros Regular
 
-PS-'s Avatar
Join Date: Jun 2006
Location: Sydney
Posts: 251
-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  
Old 09-10-2007, 02:16 AM   #4 (permalink)
Senior Member
 
shockie's Avatar
Join Date: Dec 2006
Posts: 4,702
shockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond repute
 



5) remove redundant formatting and tags - especially if you're using a wysiwyg editor
__________________
- shockie
shockie is offline  
Old 09-10-2007, 09:08 AM   #5 (permalink)
NamePros Regular
 
DylanButler's Avatar
Join Date: Jan 2006
Location: San Diego, CA
Posts: 734
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 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
DylanButler is offline  
Old 09-16-2007, 05:26 AM   #6 (permalink)
NamePros Regular
Join Date: Mar 2006
Location: United Kingdom
Posts: 413
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)
__________________
Linux Screenshots
lee101 is offline  
Old 09-17-2007, 11:15 AM   #7 (permalink)
NamePros Member
 
RaptorRex's Avatar
Join Date: Dec 2004
Posts: 93
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".
????: NamePros.com http://www.namepros.com/showthread.php?t=372269

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.
RaptorRex is offline  
Old 09-18-2007, 01:43 PM   #8 (permalink)
NamePros Regular
 
DylanButler's Avatar
Join Date: Jan 2006
Location: San Diego, CA
Posts: 734
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 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.
DylanButler is offline  
Old 09-18-2007, 08:26 PM   #9 (permalink)
NamePros Member
 
RaptorRex's Avatar
Join Date: Dec 2004
Posts: 93
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.
????: NamePros.com http://www.namepros.com/showthread.php?t=372269

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.
RaptorRex is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 10:59 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger