AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 07.12.2012, 03:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,631 / 848 (80) +++++++
Регистрация: 28.10.2006
Danny Varghese: How CRM 2011 Caching Works
Источник: http://varghesedanny.com/2012/12/06/...m-2011-caches/
==============

Another great article on Develop 1 Blog talks about how caching works in Dynamics CRM 2011. The original article can be found here. The article explains a problem the person was facing with his/her ribbon customization, after publishing wasn’t showing up.

The article goes on to say how there is a JavaScript method that takes in two parameters indicating the metadata version and ribbon version.  Each time a change is made, one or more of those parameters should increment. The ribbon version was not being incremented. According to this blogger: “The CRM 2011 cache is stored in the standard ASP.NET HTTP Cache – and it was this cache that holds the Ribbon Version. The publish is meant to invalidate this cache so that the new version can be used. Without this cache, every single request would have to hit the database to load customization XML…Upon investigating how the CRM2011 cache is managed – there is a Notifications table in the MSCRM_CONFIG database that includes entries that instruct CRM to clear cache items. The Async Server picks these up and notifies the HTTP Worker processes to drop each cache by Key.”

The issue was in previous testing, this blogger changed the time on the server to one month ahead.  He/she believes the async service wakes up and uses the current date/time to query the database for what items to clear from cache.  If records are being inserted into the database using the server’s date & time (which was set to one month ahead), the query was not picking up these notifications in the table, and thus not clearing the cache.

I found this article extremely interesting!!  Props to the author!




Источник: http://varghesedanny.com/2012/12/06/...m-2011-caches/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 11 Blog bot Dynamics CRM: Blogs 0 06.10.2012 05:27
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 10 Blog bot Dynamics CRM: Blogs 0 17.08.2012 03:27
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 7 Blog bot Dynamics CRM: Blogs 0 27.03.2012 02:11
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 4 Blog bot Dynamics CRM: Blogs 0 24.09.2011 01:16
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM 2011 ~ Online Test Drive Guide Blog bot Dynamics CRM: Blogs 0 05.08.2011 20:13

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 15:51.