We all know how frustrating a slow website can be. Never, therefore think that a slow loading website is not an issue. A recent study has found out that even one second of delay in loading a website leads to 11 per cent lesser views of the page, a 16 per cent decline is customer satisfaction and 7 per cent loss in the conversions. According to studies, people want the websites to load within 2 seconds or preferably less. More than forty people will abandon the website or close the web page if it takes more than twenty seconds to load. Approximately, fifty two per cent of customers said that their loyalty to an online shopping website depended on how fast their pages load.
This clearly indicates that working on speeding up your web page is necessary, to say the least.
Following are six tips that can help you make your web page a better site. Few of them are relatively easy to implement while the others can be pretty technical and can turn out to be intimidating if you do not possess that much knowledge about the technicality.
1. MINIMISE OR REDUCE HTTP REQUESTS
According to Yahoo!, most of the time is used up in downloading or loading the piece parts of a web page for example- images, style sheets, scripts, flash etc. An HTTP request is a compilation of all these piece parts. Therefore, the lesser the parts, the smaller and more streamlined will be the HTTP request. The number of on page components, the more time it takes the page to work.
3. ENABLE COMPRESSION
If your web page consists of high quality content, then that makes it a big web page or a large web page; since they are usually hundred kilo bytes and more. As a result of that, some pages are slow to load since they are so very bulky. The best and the most efficient way to load them and make them faster is to zip them, by a process called compression. The bandwidth of your web page can be reduced by enabling compressions since they reduce the HTTP response time.
4. ENABLE BROWSER CACHING
When a person visits a web site, the contents and some details of it are stored on a computer’s hard disk drive in a cache or the temporary storage in the computer. So, the next time a person visits some web page or a web site, the browser of the computer does not have to send another http request link to the server. The first time someone opens your web page, the HTML has to be downloaded by them as well as the java script, style sheets, files, images et cetera. That takes about 3.4 seconds for approximately 30 components. Make sure static resources have a lifetime of at a week. For third party resources (for example widgets, ads) they should have a cache time of minimum one day.
5. MINIMISE THE RESOURCES
WYSI/WYG resources make it relatively easier to make a web site or a web page but they more often than not create a messy code which slows down the web page/site. Unnecessary pieces of codes add to the size of your web page or the website. Giving a specific URL for a resource would help to get rid of duplication happens at the time of downloading. This would save more bytes being consumed by a page and the time taken for extra round trips.
6. OPTIMIZE THE IMAGES
In images, there are three things you need to focus on; size, format and the SRC attribute. Following are three important points:
Crop your images to the most appropriate size, reduce the depth of the colour to the lowest possible level and remove the commends on the images.
For the format jpeg is the best option, PNG is good as well but all browsers may not support it, gifts should be used for small/simple graphics or for animations. Try not to use BMPs and TIFFs.
After getting the size and format right, focus on getting the code right as well.