improve blog loading time using wordpress plugins by minifying scripts

9
BlashO.com Improve Blog Loading Time Using WordPress Plugins by Minifying Scripts

Upload: blasho

Post on 13-Aug-2015

103 views

Category:

Design


2 download

TRANSCRIPT

Page 1: Improve Blog Loading Time using WordPress Plugins by Minifying Scripts

BlashO.com

Improve Blog Loading Time Using WordPress Plugins by Minifying Scripts

Page 2: Improve Blog Loading Time using WordPress Plugins by Minifying Scripts

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.

Improve Blog Loading Time Using WordPress Plugins by Minifying Scripts

Page 3: Improve Blog Loading Time using WordPress Plugins by Minifying Scripts

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.

1. Autoptimize

Page 4: Improve Blog Loading Time using WordPress Plugins by Minifying Scripts

● 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.

2. Better WordPress Minify

Page 5: Improve Blog Loading Time using WordPress Plugins by Minifying Scripts

● 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.

3. W3 Total Cache

Page 6: Improve Blog Loading Time using WordPress Plugins by Minifying Scripts

● 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.

4. WP Fastest Cache

Page 7: Improve Blog Loading Time using WordPress Plugins by Minifying Scripts

● 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.

5. WP Minify Fix

Page 8: Improve Blog Loading Time using WordPress Plugins by Minifying Scripts

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.

● Good Luck !

Conclusion

Page 9: Improve Blog Loading Time using WordPress Plugins by Minifying Scripts

Visit our blog: Click Here

Facebook: https://www.facebook.com/BlashoFans

Twitter: https://twitter.com/mrven

Reference: Here