When comparing HTML5 Boilerplate vs Google's Web Starter Kit, the Slant community recommends HTML5 Boilerplate for most people. In the question“What are the best boilerplates for modern webapp front-end development?” HTML5 Boilerplate is ranked 1st while Google's Web Starter Kit is ranked 4th. The most important reason people chose HTML5 Boilerplate is:
These configuration files may help increase performance of the webapp.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Includes a comprehensive set of server configuration files
These configuration files may help increase performance of the webapp.
Pro Includes Modernizr
Modernizr checks browser support for HTML5, CSS3, as well as a few other miscellaneous elements and allows for easily writing fallbacks if they're not supported.
Pro Documented and undocumented versions
To help out newcommers to either programming in general or HTML5 Boilerplate specifically, the boilerplate includes in-depth docs that help understand how things work and why certain choices are made. The documentation is highly comprehensive going even as far as to describe every single line of normalize.css that the H5BP includes.
Pro Cross-browser normalization
H5BP includes normalize.css that will help fix inconsistencies in the way browsers render elements.
Pro Performance optimizations
HTML5 Boilerplate theme doesn't only provide a base template for building your next modern site. It also has performance optimization features built into it which include stuff like html + js minification , image size reduction as well as css minification. This link here describes how to optimize your shiny new html5 site using these built in features.
Pro Optional support for XHR and Flash
With optional support for XHR, we can use techniques such as XHR eval and XHR injections to optimize the loading of external scripts and significantly reduce page load times. Alongside XHR, built-in support for Flash means that you can use your old swf/flash content on your website, where you feel you're not ready for HTML5 yet.
Pro Sass support
Since a lot of web designers these days don't use the plain old CSS, instead they use a CSS pre-processor (like Sass or Less). Thanks to Sass support web designers can easily add GWK to their workflows.
Pro CSS vendor autoprefixing
Starter Kit includes Autoprefixer that takes care of vendor prefixes.
Pro High PageSpeed Insights performance score
Since the base skeleton provided by the Web Starter kit is authored by Google itself, it's pretty much understood that the template is optimized to the max, for performance. If you test a site (on Google PageSpeed Insights) built by the GWK you can be sure that it'll always achieve a very high score.
Pro Responsive
Since most of the websites that are currently being built (or any website that was built after 2012) are responsive, a 'scaffold-ed' website skeleton without any responsiveness would be pretty useless.
Pro Live browser reloading
Helps to build website faster by refreshing the page automatically as you save the source file changes.
Pro Performance optimization
Gulp script includes tools for image optimization, JavaScript & CSS minification & optimization and HTML minification.
Pro Built-in HTTP server
In case you want to try out your shiny new site on your mobile phone or another PC. Just type in the command gulp serve
and load up the provided server address from another device to see how your website looks and performs.
Pro Google-friendly style guide
Pro Includes a gulp build script
If you use the Gulp build system and are familiar with its environment, you can directly use Web Starter Kit's Gulp build script to build your next GWK based project.
Pro BrowserSync for synchronized browser testing
BrowserSync offers a browser live-update solution across multiple devices. And it works with basically every desktop and mobile browser. Even IE7.
Pro Yeoman generator
There's a Yeoman generator for Google's Web Starter Kit available. To install (requires Node, Ruby, Gulp, and Sass):
sudo npm install -g yo generator-web-starter-kit
cd project-root-directory/
yo web-starter-kit
npm install
gulp serve
Cons
Con Not a complete solution
HTML5 Boilerplate is basically just that, a template or a basis on which to build an HTML page. It doesn't have much mark up or components out of the box. In other words, it doesn't provide all the components and tools needed to build a UI, it contains best practices and a generall template on which to build your UI.
Con Deprecated
Visitors to the official docs will see a warning: "Warning: Web Starter Kit is no longer supported."
Con Can't be used with Less
The framework CSS is built on Sass, which adds dependencies to the build chain. There's no option to use Less.