Connect with us

Blogging

4 Tools to Compress CSS and JavaScripts of Your Blog

Published

on

CSS and JavaScripts play a huge role in a website’s performance. These two are immediately loaded into a browser when a blog is opened. If these two basic elements are too heavy to load they can seriously affect a website’s performance. The more big css or more number of JavaScript you have in your website the more it’ll take to load.

Mostly blogs today have JavaScripts and CSS embedded in their template. If you are concerned about the page load time and want to decrease it to improve your blog’s performance you can simply compress both CSS and JavaScripts embedded in your blog’s template.
By compressing your CSS and JavaScripts of your blog, you can not only decrease the page load time for your visitors but also reduce the bandwidth consumption of your blog.

Although you can do this manually by removing extra and unnecessary elements or spaces and comments in them but that would be a very time consuming job.

There are many online tools to do this for us with a click of a button. I’m sharing some of these free online services that I like and have personally used.

Compress CSS

1. CSSdrive – CSS Compressor

Advertisement

Use this online utility to compress your CSS to increase loading speed and save on bandwidth as well. You can choose from three levels of compression, depending on how legible you want the compressed CSS to be versus degree of compression. The “Normal” mode should work well in most cases, creating a good balance between the two.

See how much it compressed my blog’s CSS (in advanced mode)

2. Arantius – CSS Compressor

It basically takes out comments and whitespaces from a CSS file, which can save more space than you might imagine helping in decrease page load time.

Compress JavaScript

1.JSCompress – JavaScript Compressor 

An online JavaScript compressor that allows you to compress your JavaScript files using a few different compression algorithms like JSMin and Packer.

2. JavaScriptCompressor.com

Another free and simple online tool to compress and obscure JavaScript code.

If you use these services then please share your experience and comparison of the compression rates in the comments.

Advertisement
Advertisement
Comments