Created
March 30, 2015 01:15
-
-
Save machito/8a1176d171d5022af951 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run PageSpeed Insights | |
gulp.task('pagespeed', function (cb) { | |
// Update the below URL to the public URL of your site | |
pagespeed.output('example.com', { | |
strategy: 'mobile', | |
// By default we use the PageSpeed Insights free (no API key) tier. | |
// Use a Google Developer API key if you have one: http://goo.gl/RkN0vE | |
// key: 'YOUR_API_KEY' | |
}, cb); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment