Fast Page Loading
All evidence suggests that fast page loading is beneficial: there is no evidence against it. Whatever site visitors want to do, they want to do it quickly!
Here are a few simple things that anyone can do to improve page loading speed.
The Tools For Testing Page Load Speed
Google is promoting “Make the Web Faster” and has provided a few tools for the purpose. Anyone can visit PageSpeed type a URL in the space indicated, hit return and the user will be rewarded with a score out of 100 and a list of passed and failed rules. There is also a score for user experience for mobile devices. Solutions and suggestions are also offered.
There are a similar tools at
All the above tests have similarities some are more detailed and have different emphasis.
Taking Google Page Insights as an example, the tests are focused on these elements.
- Reducing server response time.
- Optimize images.
- Minify Html and Page compression.
- Avoiding landing page redirects.
- Prioritize visible content.
- Browser caching.
Speed Test Solutions
The Google insights test will not only list errors but make suggestions on fixing issues and even provide file resources which can be downloaded and implemented.
The first three items in the following list are things that the most non technically minded can easily undertake.
Reducing Server Response Time
The solution is straight forward, if the current hosting arrangement is inadequate change the host for a better one.
The objective is to reduce image file size without appreciably degrading the quality of the image. Thereby allowing faster download and browser render times and saving valuable and possibly costly bandwidth. Most web applications do not require high definition images and usually it is a waste of resources to use them.
Of the three common file types PNG, JPEG and GIF, as a rule of thumb it is usually better to us a .jpg (or .jpeg they are the same). The level of detail under most circumstances is better and they are able to be compressed considerably. They are the de facto standard of the web.
The first step is to optimize the image dimensions. There is no point in incorporating 1200 px * 800 px images if only 600 px * 400 px images are utilized. On the other hand it is counterproductive to use images which are too small because they will appear distorted.
Image editing and compression are features of image manipulation programs Adobe Photoshop and GIMP. GIMP is an open source project and is free to download and use and can be run on Windows, Mac or Linux.
Online image editing is available with FotoFlexer.
If no image editing is required, there are some quick and easy image compression services available.
Most often hosting providers will have an option to “optimize” a website and when activated site files will be compressed. Using this option is usually very simple and just involves clicking on an icon.
The screen that follows will offer a list of file types to be processed choose the all files option.
Combining multiple style sheets and scripts does require a certain level of expertise. The end result is one style sheet and one script where white space has been removed. Usually there are significant file size reductions.
How to complete this exercise depends on how the website is generated.
- Static site will probably require setting up an asset pipeline and incorporating that in the build process.
- If one of the popular site generation programs have been used like Wordpress or Joomla there are either incorporated solutions or plugins available for the purpose.
For Wordpress there are several cache plugins which will automate the process to some extent although some configuration may be required. Top rated Wordpress plugins are W3 Total Cache, WP Super Cache, Wp Fastest Cache and ZenCache.
Dealing with the style sheets is more of a conundrum because the requirement is circular. The page cannot be rendered unless the browser knows how to do so but yet the style sheet prevents rendering until it has been loaded.
The two basic solutions are one incorporate styling inline with the page and two load the style sheet asynchronously. Neither one is easy to implement without some technical knowledge.
With relatively simple actions page speed can often be improved considerably, even by the non technically minded. The results attainable vary but, with a responsive layout, good quality hosting, image optimization and the use of caching plugins or components will improve page speed scores.
In some instances top score of 100 will not be possible but scores in the high 80’s and low 90’s are an attainable target.