From b9761dfda39981dba2d52125eba154d0ec3df904 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 24 Oct 2017 13:29:24 +0200 Subject: [PATCH] doc: mention server-side compression config for Apache. --- doc/css.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/css.rst b/doc/css.rst index 6f05a105..c2ad30e7 100644 --- a/doc/css.rst +++ b/doc/css.rst @@ -99,6 +99,17 @@ to include a proper :html:`` tag. The HTML5 DOCTYPE is also required. I recommend using the original files for development and switching to the compiled versions when publishing the website. +.. block-info:: Tip: server-side compression + + Even though the CSS files are already quite small, enabling server-side + compression will make your website load even faster. If you have an Apache + server running, enabling the compression is just a matter of adding the + following to your ``.htaccess`` file: + + .. code:: apache + + AddOutputFilter DEFLATE html css js + With this, you can start using the framework right away. Click the headings below to get to know more. -- 2.30.2