O'Reilly logo

Mastering jQuery by Alex Libby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automating performance monitoring

Hands up – as a developer, how many of you have used YSlow? Good – a fair few; have you thought about automating those checks though?

That's right! We can always perform manual checks to get a feel for where performance bottlenecks are showing; however, the smarter way is to automate those checks using our good friend, Grunt. A module, created by the developer Andy Shora, is available for this purpose; we can get the source code for it from https://github.com/andyshora/grunt-yslow. Let's take a moment to get it up and running, to see how it works:

  1. Let's kick off by creating a project folder for our files. For the purpose of this exercise, I will assume it is called chapter13 (yes, I know – highly original); change ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required