Become a webdsign master


25 Website Speed Tips

Speed kills. In the case of websiteeasy way to speed up the rendering of an
usability, the lack of speed kills. Manyhaveimage is to simply call as a background of a
erroneously assumed the advent of high speeddiv  tag.
internet connections wouldmake website
performance optimization irrelevant. On the14. Use Relative Links: Removing the " "
contrary, it seems asinternet connectionfrom the beginning of every link will shed
speeds increase, users simply become moresome weight. Just be careful not to allow
impatient anddemand faster browsing. Below,people to jump back and forth between secure
I've gathered some simple (and advanced) waysand insecure pages, which will generate one
tospeed  up  your  site.of those annoying "insecure items" errors in
thebrowser.
Image  Optimizing  Tips:
15. Specify the DocType: Pages that have the
DocType specified tend to load faster than
those  that  don't.
1. Compress .jpg and .gif images: If you use
Photoshop, always use the "Save for Web"
feature. If you don't have access to PS,
there's a ton of free image compressingServer  &  Database  Tips
freeware  out  there.
Â
2. Compress or eliminate unnecessary Flash
elements: In my opinion, flash is over-rated,16. Reduce Http requests from other sites:
slow, and buggy. It has it's benefits, butTry to eliminate connecting to other servers
make sure you don't rely on it for navigationtoretrieve images, audio, or video. Each
or  other  necessary  site  elements.http://  connection  only  slows things down.
3. Don't Resize Images within HTML: Don't use17. Don't Use Don't use secure pages if you
the width or height attribute in the IMG tagdon't have to. Connecting through secure http
to resize larger options. For example, if youis about 3 times slower than regular http.
resize an image that was originally 300 x 300Obviously, your checkout process needs to be
to 100 x 100, the user still has to downloadsecure, but your product pages most likely do
the  full  size one. Instead, use thumbnails.not. In addition, make sure your navigation
doesn't use relative links which forces users
4. Specify Image Dimensions: Don't leave theto flip flop between secure and non-secure
width or height attributes blank. By doingpages.
so, you'll slow down the browser rendering of
the page, since it doesn't know how much18. Upgrade your Web Server: Just like that
space  to  give  for  each  image.old PC you bought 5 years ago, web servers
can  go  down  hill  and  become  outdated.
5. Slice Your Images: Slicing doesn't
actually reduce image size (in fact, it19. Use Gzip Compression to Reduce HTML Size:
increases the overall size). However, it doesGzip is great for compressing html code,
increase the apparent load time by makinghowever it does nothing for images, flash, or
each slice appear one at a time rather thanother embedded files. Many open source
one  big image popping up after it downloads.programs such as Wordpress and Joomla already
support  it.
6. Avoid Too Many Slices: Don't use too much
of a good thing. As mentioned above, each20. Upgrade Server Memory: A boost in memory
slice actually increases the total size. Iresources on your server can reduce
would recommend using no more than 4 slices,processing time and greatly increase
unless  you  are  dealing  with a huge image.performance.
Coding  Tips21. Upgrade your Database Server Hard Drive:
The faster your server's hard drive is able
7. Use CSS instead of Images: Cascading styleto access data, the faster it can serve up
sheets can do more than you think. Many sitesfiles. A fast hard drive is especially
make effective use of CSSformatting andimportant  for  your  database  server.
eliminate the need for excessive images. Even
effective brand logos can be created with22. Separate Content and Database Servers: If
CSS. CSS Zen Garden has some examples ofyou have a high traffic, database driven
creative  use  of  CSS.website, you can benefit by placing your
content on one server and your database on
8. Convert from Table to CSS based layout:another. In addition to the speed benefits,
Tables are ok for displaying data in columnsit  is  more  secure.
and rows, but is grossly inefficient for
designing web page layouts. By using DIV tags
with CSS, you can cleanup your code
extensively, which will reduce page load timeOther  Tips
and  also  offer  SEO  benefits.
Â
9. Use External Style Sheets: Rather than
formatting through embedded inline styles in23. Loading Progress Indicators: By letting
pages or html elements, reference an externalusers know that you are processing their
css files that the entire site can reference.request, you can assuage their impatient
The browser will cache this page on the firstfears. This won't necessarily speed things
visit, so it won't need to download itup,  but it will update them on the progress.
repeatedly.
24. Use AJAX instead of Page Refreshes:
10. Use External Javascript: Similar toInteracting with a web page is far different
above, put all of your JavaScript functionsthan interacting with your computer OS.
in  an  external  file  for caching benefits.Imagine if Windows XP had to refresh the
whole screen ever time you perform an action
11. Remove Unnecessary White Space in HTML:like websites do? In the next few years, we
Surprisingly,white space hogs a lot of diskwill probably see more adoption of AJAX
space.technology, which will make page
refreshingunnecessary.
12. Use Shorthand CSS: Instead of putting
each CSS attribute on its own line, use25. Reduce Size & Number of Cookies: Each
shorthand CSS to prevent extra line breaks intime a browser makes a request, cookies must
your  external  CSS  file.be transmitted. Keep an eye on the total
number and size of the cookies your site
13. Use CSS Images instead of IMG tag: Anuses.



1 A B C D E 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128