The speed of a website is extremely important as it affects the quality of the site. Speed is a defining factor for SEO, this means the speed of the site can affect the ranking of web pages effectively, this can result in a positive or negative effect on traffic.
There are numerous ways to speed up your website. A few critical methods are listed below to outline time that can be saved:
Minimise HTTP requests
Decrease the number of requests on your page, use CSS instead of images whenever possible, the leaner the better.
Enable Compression & Enable Caches
Compression reduces the bandwidth of your pages, thereby reducing HTTP response. This can reduce download time by up to 70%.
When you visit a website, the elements on the page you visit are stored on your hard drive in a cache, or temporary storage, so the next time you visit the site, your browser can load the page without having to send another HTTP request to the server
The first time someone comes to your website, they have to download the HTML document, style-sheets, java-script files and images before being able to use your page. Once the page has been loaded and the different components stored in the user’s cache, only a few components needs to be downloaded for later visits.
With images you need to focus on image size. Crop images to correct size, reduce colour depth and remove comments. The best image formats are JPEG & PNG and for src attribute make sure the code is right, avoid empty image src codes.
Pixlr editor css sprites and Smushit plug in are all excellent tools to improve the optimisation of images. SVG (Sector Vector Graphics) are an xml vector image that can be converted from JPEG and PNG images, these two-dimensional images are higher in quality and do not lose any quality if zoomed or resized unlike JPEG and PNG images.
WYSIWYG resources help to build a website however they can create messy code. Therefore, it is important to eliminate extra spaces, line breaks, and indentation in your code, as well as decreasing HTML, CSS and Java-script.
Choose a good host
Ensure that only the necessary plug-ins, resources and code are present and if possible enhance speed with a good host and content delivery network. Through http keep alive the web browser communication can take place between the web browser and web server to look at more than one file, trimming down server requests. The use of a host that isn’t shared means slow speed and down time during traffic periods.