Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sitecore ApplicationCache

Recently, I have installed Sitecore 8.0.

The problem is slowness. Whenever I reload page(s) in Edit Mode, it is too slow. Below is Console in Development tool in Chrome and most final message is "ApplicationCache is not declared"

enter image description here

It seems like I need to declare ApplicationCache in Sitecore. How can I do??


=== Updated ===

By enabling Application Cache, I could see caching is correctly working. However, after caching loads, SPEAK still calls all SPEAK tool ribbons.

Why????????????? how can I make Sitecore stop loading these???

like image 494
Jay Avatar asked Dec 08 '25 00:12

Jay


1 Answers

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

The web application cache is disabled by default. To enable it:

Add the following string

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

to the HTML tag inside the current layout of the item or page, for example, the \Website\sitecore\shell\client\Speak\Layouts\Layouts\SpeakLayout.cshtml base layout file.

Move to "\Website\sitecore\shell\client\Speak\Layouts\Layouts\SpeakLayout.cshtml" then, update like:

<html data-sc-app manifest="/sitecore/shell/client/Sitecore/ExperienceEditor/Html5AppCache.ashx">
like image 66
Jihyun Avatar answered Dec 11 '25 12:12

Jihyun



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!