moshen / jekyll-asset_bundler

A small plugin for Jekyll to easily bundle and compress site assets
MIT License
101 stars 21 forks source link

Micro-optimization of resulting HTML #7

Closed NV closed 11 years ago

NV commented 12 years ago

HTML5 allows to omit:

It is totally cross-browser. Google uses the same technique.

moshen commented 12 years ago

I saw this, but I'm not quite sure what to do. While I agree with you (and asset bundler is already pretty opinionated), after having the last PR using an XHTML 1.0 DOCTYPE, is foisting the latest standard the thing to do? Would it work? Should in every browser... Does validation matter? Most people don't think so.

Could make it an option, or auto detect the page doctype... but that seems like an overly complicated solution.