2016-01-13 39 views
3

最近,我安装了Sitecore 8.0。Sitecore ApplicationCache

问题是速度缓慢。无论何时我在编辑模式下重新加载页面,速度太慢。 下面是控制台在Chrome开发工具和最最后的消息是“不宣ApplicationCache”

enter image description here

好像我需要在Sitecore的申报ApplicationCache。我能怎么做??


===更新===

通过启用应用程序缓存,我可以看到缓存正常工作。但是,在缓存加载之后,SPEAK仍会调用所有SPEAK工具条。

为什么?????????????我如何让Sitecore停止加载这些?

+0

还有另一种解决方法。我更新了。 – Jihyun

回答

2

=====更新====

另一种方法是,您可以禁用SPEAK用户界面扩展程序。 转至/website/App_Config/Include/Sitecore.MvcExperienceEditor.config文件并启用SheerUI Ribbon并禁用SPEAK UI Ribbon

<!-- The SheerUI-based Experience Editor ribbon. --> 

<processor type="Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.RenderPageEditorExtender, Sitecore.Mvc.ExperienceEditor"></processor> 
<processor type="Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.RenderPreviewExtender, Sitecore.Mvc.ExperienceEditor"></processor> 
<processor type="Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.RenderDebugExtender, Sitecore.Mvc.ExperienceEditor"></processor> 


<!-- The SPEAK-based Experience Editor ribbon 
<processor type="Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.SpeakRibbon.RenderPageEditorSpeakExtender, Sitecore.Mvc.ExperienceEditor"></processor> 
--> 

即使您禁用基于SPEAK的功能区,也不会有UI更改。

1

https://doc.sitecore.net/sitecore_experience_platform/the_editing_tools/improve_the_performance_of_the_experience_editor_ribbon

Web应用程序缓存默认情况下禁用。要启用它:

以下字符串

manifest="/sitecore/shell/client/Sitecore/ExperienceEditor/Html5AppCache.ashx" 

添加到HTML标记的项目或网页的当前布局内,例如,\Website\sitecore\shell\client\Speak\Layouts\Layouts\SpeakLayout.cshtml基地布局文件。

移动到 “\网站\ Sitecore的\壳\客户端\说话\布局\布局\ SpeakLayout.cshtml”,那么,更新,如:

<html data-sc-app manifest="/sitecore/shell/client/Sitecore/ExperienceEditor/Html5AppCache.ashx">