WP Fastest Cache (WPFC) offers combine and minify features in its premium version. Although I don’t have any experience with it, I doubt it’s superior to Autoptimize. This is by far the most efficient combine and minify plugin for WordPress I’ve ever come across. It’s even suggested by the developers of W3 Total Cache. I’ve been using it for years and luckily it plays nice with most caching plugins, including WPFC, so you will not face any compatibility issues.
When setup correctly, Autoptimize takes care of the following suggestions in Pingdom and Pagespeed Insights:
- Minimize DNS lookups
- Combine external CSS
- Minify CSS
- Minify HTML
Don’t worry, setting it up will be a breeze. Let’s begin!
After activating the Autoptimize plugin its settings-page will appear under ‘Settings » Autoptimize’. As I mentioned before, setting up the basics is nothing more than checking a few boxes:
- Enable ‘Optimize HTML Code’,
- Enable ‘Optimize CSS Code’,
- Click ‘Save Changes and Empty Cache’.
Whenever you’re ready to continue, click ‘Show advanced settings’ to unleash Autoptimize’s true potential.
In the Advanced Settings is where Autoptimize’s true power is hidden.
By default, Autoptimize aggregates all enqueued script-files into one single .js-file and places it in the footer of the page. It also adds a defer-parameter to optimize page load.
Both these actions will make Google Pagespeed Insights and Pingdom very happy. It also gathers all CSS-files and places them into one single file.
- Enable ‘Also aggregate inline JS?’
- Enable ‘Also aggregate inline CSS?’
- Save settings
That’s it! You’re all done setting up Autoptimize.
The Wait is Over!