mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 19:34:40 +08:00
Update Index.cshtml
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user