From 5e7e15bad9cdb078df618182f0d86c4b6faa7a2f Mon Sep 17 00:00:00 2001 From: Ohad Schneider Date: Tue, 5 Sep 2017 19:05:29 +0300 Subject: [PATCH] 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 --- docs/_docs/05-configuration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/_docs/05-configuration.md b/docs/_docs/05-configuration.md index 08df774c4da1..8592d1f8fc53 100644 --- a/docs/_docs/05-configuration.md +++ b/docs/_docs/05-configuration.md @@ -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}