Skip to content

Commit

Permalink
Mention CDN minification as an alternative to compress_html (mmistake…
Browse files Browse the repository at this point in the history
…s#1217)

* Mention CDN minification as an alternative to compress_html

* Add warning notice to caution statement
  • Loading branch information
ohadschn authored and mmistakes committed Sep 5, 2017
1 parent ce6e412 commit c84a766
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/_docs/05-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -642,3 +642,7 @@ compress_html:
```

**Caution:** Inline JavaScript comments can cause problems with `compress.html`, so be sure to `/* comment this way */` and avoid `// these sorts of comments`.
{: .notice--warning}

**Note:** CDN services such as CloudFlare provide optional automatic minification for HTML, CSS, and JavaScript. If you are serving your site via such a service and have minification enabled, this configuration might be redundant.
{: .notice--info}

0 comments on commit c84a766

Please sign in to comment.