- Enable helper: Checking the Enable Helper radio box will enable the NitroMinify Helper. When this tool is enabled, you will have a new option called “NitroMinify” on your admin toolbar. When clicked, a list of all scripts that are enqueued will be listed. The names of the scripts may be copied and pasted into the queues that will be discussed below.
Enable inline minification? (html, inline css & js): Checking this radio box will enable your HTML to be minified which will results in your HTML, CSS and JS on the page itself.
1. Get Ready
2. Try all your files
Make sure you have no cache or clear it, same with your CDN such as CloudFlare. You can put CloudFlare in development mode or just clear the cache after each change.
Once your cache is cleared, go and check the front-end for any errors or stuff that is not working. Check things like your mobile menu, pop ups, and contact forms. If all works great – happy days! You don’t need to do any tweaking.
If you have any issues, move onto the next step.
3. Oops… Let’s try a different setup
Ok so you added all the scripts and for some reason, it caused issues on your website. Don’t stress, it happens to many websites as the more scripts we add the more can go wrong. Remove all the scripts, save the settings, clear your cache and check the front-end. Make sure all is back working fine. If it is not it would be a caching issue such as your browser cache – try incognito mode or hard refresh your page. Now we are going to do the tedious task but trust me isn’t as bad as it sounds and is quite satisfying. I actually find it quite fun trying to work out the best setup.