Do you want to minify files on your WordPress site?
You are at the right place.
What is Minify and When Do You Need it?
Minify is a term which is used to describe a method that makes your website file size smaller. It completes this task by removing lines, white spaces and unnecessary characters from the source code.
The main advantage of minifying files is to improve the performance and speed of WordPress.
Compact files load faster and improve the speed of your site.
Some experts are of the view that the performance improvement is very small for most websites.
The minification process only decreases few kilobytes (kb) of data on WordPress websites. You can also reduce the pageload time by optimizing images for web..
Here is an example of normal CSS code:
After minifying the code it will look like this:
First of all, you need to install and activate the Better WordPress Minify plugin.
For more details, see our step by step guide on how to install a WordPress plugin.
After activation, this plugin will add a new menu item named “BWP Minify” to your WordPress admin bar. When you will click on it, it will take you to plugin’s settings.
Now click on save changes button to save changes.
Advanced options are also available on this page. The default settings should work for most of websites, but you can change these options depending on a case basis.
Now go to your website. Right click anywhere then select ‘view page source’ from browser options.
Still having problems? Type your problems in the comment section.
Do not forget to share this post and like our Facebook page for more updates.
Arsalan Rauf is an entrepreneur, freelancer, creative writer, and also a fountainhead of Green Hat Expert. Additionally, he is also an eminent researcher of Blogging, SEO, Internet Marketing, Social Media, premium accounts tips and tricks, etc.