About

I am Ajith Edassery, a software engineer and part time blogger from Bangalore, India. Blogging is my pastime and I use this space to write about Blogging Tips, Internet marketing, Search Engine Optimization and How to Earn Money Online. Read more in the about page and subscribe to my updates using the form below:

Partners

HostGator VPS
MAX CDN

Subscribe to RSS

Subscribe by Email

Your Email:

Communities

WP-Minify Plugin to improve your Blog Performance

Ajith |  Dec 2009 | Blogging Tips

A lot of us are familiar with the WordPress Super Cache plugin that can drastically improve the performance of self-hosted WordPress blogs. This plugin works well by caching a self-hosted WordPress blog’s PHP files on the server as static HTML pages that are ready to serve anytime.

Yet another blog performance optimization plug – that works a little differently as compared to the super-cache – is the wp-Minify Plugin. I just experimented with it on this blog and it ‘felt’ like the blog loads a little bit faster than it used to be.

How wp-minify works?

While the WP Super Cache works on minimizing the processing time at the server, the wp-minify works on to reduce the size of files that needs to be downloaded from the server there by saving bandwidth and reducing time to download. Basically, it compresses the style sheets (CSS files) and javascript files used by blog themes & plugins and consolidates them into single files. By compression what I mean here is removing redundant white spaces and other unnecessary information (comments etc) from these files thereby reducing their size and merging them into one. The plugin internally uses the minify engine that incorporates several optimization features as per Yahoo’s guidelines for high performance websites.

Is wp-minify for you?

If your blog uses a lot of plugins and a style-heavy theme then you may use wp-minify to improve the site performance drastically. In my case, I could save only about 3KBs because my files were somewhat optimized as I coded this theme myself. Also, I use very few plugins (13) on this blog.

The author of wp-minify claims that he could compress his 138KB script files into just 33KB and that would mean that it takes only one fourth of the time to load (those compressed files) after optimizing. Of course, the other uncompressed files are still there.

You may download and install wp-minify plugin via this link. The plugin is so easy to setup and all that you need to do is to keep its cache directory as read-write-execute (chmod 777). Unlike the super-cache plugin, you may not face issues while upgrading WordPress or even while moving WordPress to new host.

If you have already used this plugin, please share your experience here.

Happy Blog Optimizing!

Comments (22)

  1. Great info dude!

    I will try it and i think it will compress better than yours because, my css files and other files are not optimized.

    I have one question. There might be cpu usage at server end for every request as it is compressing the files right?

    Or it is also cached?

  2. Did not work for me Ajith. All the formatting went for a toss. I had a problem with the super cache plugin too. On the other hand I’ve had better success with CSS compression using online tools and then changing it via the Editor in WP.

    • You can use offline compression as you said but you have to do it everytime you add stuff like plugins. Formating issues are caused because of certain plugins/widgets that don’t confom to script inclusion guidelines. You can still get your formating back using the debugging methodology explained in the support site (use Firebug to check which script is in red and exclude it probably)

  3. Great one. I was not aware of it. Compressing CSS files is a great idea. I will surely try it out. Thanks for sharing.

  4. Look cool, since Google recently made some changes about the way it will stare your performance.

  5. Thanks Ajith.
    i hope it can make performance optimization for my blog.

  6. I tried this after reading your post, but it didn’t work as expected. Many of the plugins conked, even the alexa widget had problems, not so easy and straight-forward as I expected it to be.

  7. JK

    Ajith, This is the first time to your blog. Great one!

    I installed the Wp-Minify plugin and it did improve the loading time however my Google Search functionality got messes up and nothing shows up.

    Do you know how to fix it? Have you encountered this issue before?

    Thanks

  8. Tried it out twice and wasn’t pleased the CSS and JS dependant functions of my blog’s theme were completely lost. I think it Over-Minified my files. lol

  9. Compressing css file is the first of its kind… This is the first blog wherein I hear such information…interesting idea

  10. Ajith, I’m a big fan of website speed optimization tools and I use wp-minify as well.
    The only downside of this plugin is that it loads the merged script file in the very top inside the html head tag.

    This causes the the browser to deal with javascript files before even loading styles and images.
    I disabled the minification of the style.css file in my site because it’s already minified, and I use wp-minify for js files only, so if you look in my page source, you’ll see that the call for the merged js file is before the style.css file.
    I tried to switch the order but unsuccessfully.

  11. Great plugin
    It works well at present.I use it to replace the total cache minify,as that gave my blog no end of hang-ups
    Still debating whether to implement html minify.I use MaxCDN
    Great work

  12. Barry

    can someone tell me How to use it, I mean what options i ve to activate in this plug-in in order to decrease my site load.

    Need any quick response.
    Thank you

    • I do not use wp-minify anylonger but WP 3 Total Cache! Awesome plugin with multiple cache & serve optimization techniques including minify, compression, caching of pages, database queries, objects etc. Try it out.

Leave a Reply

Please read our updated Comment Policy