Mention CDN minification as an alternative to compress_html (#1217)

* Mention CDN minification as an alternative to compress_html

* Add warning notice to caution statement
This commit is contained in:
Ohad Schneider 2017-09-05 19:05:29 +03:00 committed by Michael Rose
parent c863ba6e54
commit 5e7e15bad9

View file

@ -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}