jekyll-gulp-optimizations | Getting you to a Google PageSpeed Insights score of 100
This is an adaption and extension of a already very good gulp script from Steve Edson's post Automating optimisations with Gulp.
- Clone this repo and move the files into your jekyll root folder
- Edit the gulpconfig.json file and place your server and cloudflare credentials in there
npm install gulp -gto install gulp globally and be able to run
npm installto install all needed dependencies
gulp deployto do the whole build and deploy to your server
Builds and deploys all files to your server
Builds without deploying all files to your server, for testing reasons. You can run
jekyll serve and do a parallel
gulp dry-run command to see how your local output will look like.
Does to normal
jekyll build and deploys directly to your server, without any optimizations.