How scripts, Images and CSS minify can Improve your site SEO ~ Coding Savvy
FB Twitter Google
» »

How scripts, Images and CSS minify can Improve your site SEO

Popular search engines such as Google, Yahoo, Bing, Ask and others are always trying to give their user he best result, One of the things used in the consideration of which site to be ranked better is the server response speed and the time it takes your site to load.By minifying your scripts you web page can gain up to 45% efficiency and reduction in size. Minify simply stands for removing unwanted characters and white spaces from your source code without affecting the real function of the code. If you have not been taking minify into account during the deployment of your projects you need to start doing it now.
How scripts, Images and CSS minify can Improve your site SEO

You can check your site speed with https://developers.google.com/speed/pagespeed/insights/.
Minify simply stands for removing unwanted characters and white spaces from your source code without affecting the real function of the code. If you have not been taking minify into account during the deployment of your projects you need to start doing it now.
Remember that minify can also be so hard that the page source code might not be easily readable, You are advised to have backed up the uncompressed version of your source code before starting to minify the scripts. In case of importing external libraries it is highly recommended that you import a minified version of any external library that you want to import into your web page, Most popular script libraries such as JQuery have a mini version it usually has .mini.js at the end of it.
 In term of Image compression, it is a good practice to make sure your image is in it proper size before serving it to your users, Don’t let users web browser do the work of reducing image sizes make sure the images are in their required sizes before serving it to users because if user browser will have to resize your images before displaying it will take another long process .
 Here are some highlighted advantages of Minify:
 • Faster download times for your users.
• Reduced bandwidth consumption of your website.
• Reduced number of HTTP requests on your server when combining many javaScript files into one compressed file, thus reducing the server load and allowing more visitors to access your website.
 • Comments and white space are not needed for javaScript execution; Removing them will reduce file size and speed up script execution times.
 Here are some recommended online scripts compressors:
http://www.webtoolkitonline.com/xml-minifier.html (XML, HTML).
http://www.csscompressor.com/ (CSS).
 http://www.javascriptcompressor.com/ (JavaScript)
Was this article helpful?
Thanks! Your feedback helps us improve tutorials.

You May Also Like...

2 comments:

  1. Thanks A lot, I have Been Looking for this.

    ReplyDelete
  2. Thanks for sharing a very helpful and very informative blog
    Excellent article and a truly amazing blog android applications development

    ReplyDelete