What is Minify, and When Should You Use It?
The term ‘minify’ refers to a technique for reducing the amount of your website’s files. It accomplishes this by deleting extraneous characters, lines, and white spaces from the source code.
The obvious benefit of minifying files is that it speeds up and improves the performance of WordPress. Compact files load faster and increase the speed of your site.
However, other experts argue that the performance gain for most websites is insignificant and not worth the effort. On most WordPress sites, minification only saves a few kilobytes of storage. By simply optimising photos for the web, you can cut pageload time even further.
Here’s an example of standard CSS:
After minifying the code it will look like this:
The Better WordPress Minify plugin should be installed and activated first.
When you activate the plugin, it will add a new menu item to your WordPress admin bar called ‘BWP Minify.’ It will send you to the plugin’s settings page if you click on it.
You can now save your changes by clicking the Save Changes button.
On this page, you’ll find a plethora of sophisticated settings. Most websites will operate with the default settings, but you can check and adjust these choices on a case-by-case basis.
That’s all, we hope this article helped you learn how to minify your WordPress site.