There are lot of ways to optimize your WordPress blog in order to improve its loading time. Recently, I took a single step and cut down my blog loading time by 50% without much hard work. Today, I am going to share you yet another way to quickly improve your blog speed.

  • Minifying a web page is one of the most common optimization strategy in web development.
  • JavaScript, CSS, HTML or any browser-side script can be minified for improved performance.
  • Once minified, the actual code/file size reduces to great extent and hence the files are meant for quick download.

However, manually minifying them is a nightmare and painful job. With WordPress, there are always handy ways to do complex work simpler.

When I was looking to minify my blogs code, I short-listed these 5 plugins and tried them all.

Here it goes.

1. Autoptimize

This is one of the simplest minify plugin. It doesn’t have any complex settings. All you have to check “Optimize HTML Code”, “Optimize JavaScript Code”, “Optimize CSS Code”.

This plugin minifies and also, caches the scripts. When you click “Advanced Settings”, you can exclude certain scripts that you don’t want to optimize. Also, there is an option to empty the cached scripts. Looks, it works with your CDN network also, though I haven’t tried that option.Autoptimize-WordPress-Plugin

2. Better WordPress Minify

This is one of the advanced minify plugin. You can minify JavaScript and CSS files only. I don’t see an option to minify HTML code. This plugin uses the PHP minify library and you can easily customize the minified script name. It has very good interface to exclude scripts from optimization, it nicely shows all the scripts used in the page. It also supports script caching and also, works with CDN networks.better-wordpress-plugin

3. W3 Total Cache

This is one of the most commonly used WordPress cache plugin. It also has built-in minify feature. You can minify all three: HTML, JavaScript, CSS and also, it supports file combine. That means, it minifies and combines them into single file for faster loading.w3-total-cache-minify

You can also exclude files that you don’t want to minify. Further, this has an option to remove the new line – that means, it just puts the whole code in a single line or as a paragraph instead of usual line-after-line code hence giving addition optimization.w3-total-cache-minify-1

4. WP Fastest Cache

Yet another cache plugin with built-in minify feature. Same like W3 Total Cache, you can minify all the 3 types of code. It also has file combine feature and gzip compression to improve the loading time. If you are not a big fan of W3 Total Cache, you can go for this one.wp-fastest-cache

5. WP Minify Fix

Yet another simplest minify plugin, supports all the 3 sources. You can enable/disable each minification type and also, put the scripts that you want to exclude. The “Advanced Option” enables combining the minified file. This plugin uses the standard PHP minify engine where it passes your files as input and gets back the minified one for serving. It also eliminates any duplicate codes from the source files.wp-minify-plugin

Conclusion

Finally, I settled down with W3 Total Cache only, it worked well for my blog. However, you can give a try with all these plugins and decide, which one doesn’t break your design.

  • Because, when you minify the scripts, most of time you will end-up with some design break issues. This is little time consuming work and you have to try with multiple plugins one-by-one in order to find out the one that works well with your blog.
  • Once minified, your page loads quicker.

Let me know, which minify plugin you are using in your blog ?

Did you find this blog post useful? Please Share it !