Want more? Subscribe to my free newsletter:

Gulp And Grunt Tasks For Performance Optimization

May 4, 2014

tasks.1c7b

Delays in performance have the potential to impact user engagement, experience and revenue. Thankfully, Google's 'Make The Web Faster' team recommend a set of best-practice rules for keeping your pages lean, fast and smooth. These include minifying resources like CSS and JavaScript, optimizing images, inlining and removing unused styles and so on.

If you have complete control over your server, an excellent PageSpeed Module for Apache and Nginx exists with filters for many of these tasks. If not however, or you feel the module isn’t quite for you, a number of build-tasks exist for tools you’re probably already using to fill in the gaps with more granular control.

For a complete list of Gulp and Grunt tasks the Yeoman team recommend for your build process, see my complete write-up on the Yeoman blog.