Performance Issues
Client Side /Server Side
Problem
Most users on the internet today, use broadband connection e.g. DSL,
Cable, and T1 however, people in poorer countries who cannot afford a
high speed connection, will be waiting for a long time for our website
to load up. Many images on a webpage can cause the webpage to load up
slower. This can cause our business to lose customers and also the
popularity of our site will also fall. A bigger cost for our business
because most of the bandwidth will be used when the images keep being
loaded on to the webpage.
Solution
The best way to tackle this problem is by making every image smaller in
file size. The way we do that, is by using an image editor which can
potentially shrink the file size of the image. This is done by
converting the file type or making the image smaller by changing the
height and width in the image editor. Saving the image as a JPEG or PNG
can reduce file size. You could save the image as a GIF, but if the
image contains more than 256 colours, most of the colours won't be
presented. This can make your images not look the way you want them.
Also changing the height and width in the HTML code will not reduce the
file size because it's still loading the whole image off the website.
Using thumbnails is also a good idea because the image is smaller in
size and provides a small shot of the image. To create a thumbnail, you
will have to use an image editor e.g. paint, Adobe Photoshop and shrink
the size of the original and save a new image. Also using fewer scripts
(JavaScript) will make the page load faster, because the client's web
browser doesn't have to execute many scripts. If our server isn't very
fast or hasn't got much bandwidth, I suggest you upgrade to a better
package with your supplier because your clients can become impatient
which could corrupt this business.
So this is what you do:
- Reduce file size with a image editor (Paint, Adobe Photoshop)
- Use thumbnails (To show a small image of the original image)
- Use less scripts e.g. php, js.
- Use different file types e.g. JPG, GIF, and PNG. Do not use BMP, because the images are mostly huge in size and waste bandwidth.
- Maybe upgrade the speed of the server or buy more bandwidth if you haven?t already.
Conclusion
If you do this, this will allow people with slower connections to use
your server and also reduce bandwidth use on the server, as well with
the client. This can cause our customers to be pleased with the website
because it's fast, effective and most importantly useful.