Take the following steps to minify scripts and styles, using the W3 Total Cache plugin:
- Click the General Settings sub-menu under the Performance menu from the left-hand section.
- Go to the Minify settings section.
- Tick the Enable for Minify setting and keep the other settings to default values.
- Click the Save Settings & Purge Caches button.
- Visit any page on the frontend of the site.
- Right-click and select the View page source button to view the page source.
- Click any of the files that are loaded from the wp-content/cache/minify/ path.
Now, you will see the minified version of script and style files, instead of the original version.