In our previous video we spoke about the importance of improving your page speed to not only rank better but improve your users’ experiences with your website.
If you haven’t watched our part 1 video click here.
In this video we will be discussing some additional ways to reduce your pages load time.
Firstly minifying CSS, JS, and HTML is key. Optimizing websites can be a very expensive process. Whereas, minifying project files is one of the cheapest performance optimization tactics available to developers. Why not take advantage of it?
Your website is built by combining a lot of files where the majority of them are HTML, CSS, and JS. These files consist of tons of codes that are either automatically generated or written by a developer. This results in websites having a significant amount of voluminous content. The code written in these files needs to be maintained so it is humanly readable. However, as machines can quickly read through the code this means that there is no need for formatted code which can be leveraged to save space and hence improve the websites file size.
Here is how you can minify your CSS text, it’s super easy!
When you run a piece of code through a CSS Minifier, this will reduce the size of this style.css file and the output of the minified version will hence lead to a faster application.
You simply copy and paste the code you want to minify into the minifier tool and it provides you with the minified output.
This modified file is much smaller in size as you can see and it will compile faster which means it will be rendered quicker than the unminified version.This may look a bit mixed and mumbled up to you, however, it is clear and concise for web browsers and servers.
You can follow this exact process to minimise JavaScript code.
This concept can similarly be applied to HTML compression which in term also leads to faster page speed.
There are many compression tools, like the minifier tool, which save space in your HTML files by reducing their size. As you can see, they do so by removing text line breaks from the code, taking away tab space as well as replacing double spaces with single spaces.
Google states that 53 percent of mobile site visitors leave any page that takes longer than three seconds to load. You can see why at SEO TV, we deem it crucial to improve your load speed. Minifying your CSS, JS and HTML brings you one step closer to a more efficient website, which can then improve your SEO.
Try these techniques yourself and reap the benefits of improved SEO with faster page speed. Check our SEO Company Melbourne for more videos like these!