The blog’s loading speed is one of the most important factor for many reasons like Google Search Engine Rankings, making visitors access faster blog etc. Normally most of the bloggers use professional looking WordPress themes which are heavily coded with a lot of css codes and Images. The Images can be easily optimized with the use of Image Compression Software’s.
If you have huge number of visitors to your blog, then you can save up bandwidth too by compressing the CSS Files, because any file reduction on the web hosting files can save up both the Space & Bandwidth. We would recommend using this tool which offers with a lot of customization options to your CSS Files.
Initially you need to paste down all the CSS Code from your style.css file which is located in the themes folder of your WordPress installation. You need to check the following options :
Spaces and tabs
Replace multiple spaces with just one space
Remove space around chars ;:{},
Leave space between selectors
Leave space between properties
Remove tabs
New lines handling
Leave lines as they are
Replace multiple empty lines with just one empty line
Remove all newlines
Comment handling
Don’t strip any comments
Strip ALL comments
Strip comments at least chars long
Other options
Compress color codes where possible
Remove unnecessary semi-colons
One command per line
My original CSS File was of around
Next once you click on the ‘Compress it’ button, the Online tool will perform all the tasks and then give you a quick report as shown below.
Compression results :
Original size: 27370 bytes
Compressed size: 21828 bytes
Savings: 5542 bytes (20%)
Overall a savings of 20%-60% which means that you would be saving around a few GB’s of Bandwidth of you have a million page views every month along with a faster loading blog which would keep visitors return to your blog regularly.
Thank very much for information