Update Index.cshtml

This commit is contained in:
jtkech
2016-02-05 00:08:35 +01:00
parent 0e3e7f0c90
commit 854c4ef73c

View File

@@ -29,7 +29,10 @@
<fieldset>
<label>@T("Max Age")</label>
@Html.TextBoxFor(m => m.DefaultMaxAge, new { @class = "text small" })
<span class="hint">@T("When defined, a cache-control header with a max-age property will be added. Use this in order to enable kernel cache on IIS.")</span>
<span class="hint">@T("Specifies the duration (in seconds) content is allowed to be cached on the client, and on intermediaries such as proxy servers, CDNs or IIS kernel cache.")</span>
<span class="hint">@T("When set to a non-zero value, a cache-control header with a max-age property will be added to responses.")</span>
<span class="hint">@T("NOTE: Responses cached on intermediaries or clients will not be invalidated when content is edited, and cannot participate in the full cache key variation supported in Orchard.")</span>
<span class="hint">@T("Only activate this if you really know what you're doing, and consider setting it to a considerably lower value than the default cache duration.")</span>
</fieldset>
<fieldset>