From 59bd2587df2ccb01ed165123ae120d3737f4a40d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Guitton?= Date: Fri, 3 Jun 2016 10:48:32 +0200 Subject: [PATCH] Amend WEBrick default headers documentation --- site/_docs/configuration.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/site/_docs/configuration.md b/site/_docs/configuration.md index 5fe13ddb..f313656e 100644 --- a/site/_docs/configuration.md +++ b/site/_docs/configuration.md @@ -383,7 +383,7 @@ before your site is served.

-## Custom WEBRick Headers +## Custom WEBrick Headers You can provide custom headers for your site by adding them to `_config.yml` @@ -397,9 +397,10 @@ webrick: ### Defaults -We only provide one default and that's a Cache-Control header that disables -caching in development so that you don't have to fight with Chrome's aggressive -caching when you are in development mode. +We provide by default `Content-Type` and `Cache-Control` response headers: one +dynamic in order to specify the nature of the data being served, the other +static in order to disable caching so that you don't have to fight with Chrome's +aggressive caching when you are in development mode. ## Specifying a Jekyll environment at build time