Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How dynamics CRM 2015 caching works?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

Can anyone please explains how the Dynamics CRM 2015 caching is working actually in terms of what is being cached on the client side? for example, are the entity views actually being cached or not. Are forms being cached on the client side or not ... etc.

Also how caching is working on server side in terms of requests and responses made by CRM agent clients? What are the rules used by CRM to decide on caching repeated or heavy requests? 

Thanks and best regards, 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How dynamics CRM 2015 caching works?

    We went from on-prem 2004 CRM to Dynamics CRM.  It seems to me that data, not being cached locally, the problem manifest in a number of ways.

    1. Search for record takes longer to produce result.
    2. There's lag scrolling through interface

    I think there are a number of possibilities that could create the above issues for us, but I think the primary one is how data is cached.

  • SergeyT Profile Picture
    SergeyT 310 on at
    RE: How dynamics CRM 2015 caching works?

    There is for sure caching on almost each application layer. But yours question seems to be too abstract. Describing particular task or problem would allow to provide more apt answers by experts.

    Anyway I don't think CRM was designed for work with "hundred of thousands of record" in one view on client-side. By default CRM limits retrieval by 5000 records and utilizes paging extensively to query only exact data that's need to be presented in UI.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How dynamics CRM 2015 caching works?

    Thank you for your response.

    I am more interested in the caching of heavy queries data (hundred of thousands of record) done by views, is there any caching occurs during loading the view's data? The caching would be on the SQLServer side or on the CRM backend side?

  • gdas Profile Picture
    gdas 50,089 on at
  • Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: How dynamics CRM 2015 caching works?

    Caching happens on forms not on the views. and its pretty much standard internet explorer/chrome caching or any other .net application. in your custom codes you can make use of caching or control it.

    Dynamics does cache as much as it can on both the client and server. The client web resources are cached using the normal http cache and the server uses a custom cache that is internal and not exposed.

    read more here : www.develop1.net/.../CRM-Developer-e28098Must-Knowe28099-2-Web-Resource-Caching.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans