Merge pull request #99 from marcobiedermann/feature/gzip

fix #98 - add notes section with performance tip
This commit is contained in:
Josh Buchea 2016-05-28 15:50:37 -07:00
commit 476543af1e
1 changed files with 10 additions and 0 deletions

View File

@ -406,6 +406,16 @@ Below are the link relations which are not recommended for use:
- [App Links Docs](http://applinks.org/documentation/)
## Notes
### Performance
Moving the `href` attribute to the beginning of an element improves compression when GZIP is enabled, because the `href` attribute is used in `a`, `base` and `link` tags.
Example:
```
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet">
```
## Other Resources
- [HTML5 Boilerplate Docs: The HTML](https://github.com/h5bp/html5-boilerplate/blob/master/dist/doc/html.md)