有没有一种方法可以为静态声明在布局中的ControllerRendering启用Sitecore缓存?在Webforms中,您可以像这样声明渲染的缓存设置:
<sc:Sublayout ID=“slMyControl” path=“~/path/to/my/control.ascx” VaryByParm=“true” Cachable=“true” runat=“server” />
然而,当我使用Html helper时,在Controller方法上没有重载来接受缓存参数?
@Html.Sitecore().Controller(“NAMESPACE”, “ACTION”)
我正在运行Sitecore 7.2