Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

How does the Customer Service Portal cache works

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm new for PowerApps Portal, recently we create customer self-service portal, to provide user create case and work with case, like add notes, close or reopen the case. The issue is I get known there might be a delay for the portal to see the update from Dataverse (15 minutes as the SLA mentioned).

Then I test to update a record on Dynamics Customer Service and see what happen on Portal, the result is Portal can get the update almost immediately. Then in what situation the delay will happen is a little mystery.

I'm afraid it might cause issues which Portal user can send some updates before he see the latest data from Dataverse. So I try to investigate a solution to solve it. But it seems there is few articles talk about how does the cache work, why it can be updated immediately and how can avoid the delay things like that.

In addition, for the article (https://readyxrm.blog/2021/01/05/using-the-power-apps-portals-webapi-to-clear-the-portal-cache/), I get that before user see the record or list of records, we can update a field to force cache invalid (not sure the invalid entity/tables scope), but it will cause performance issue anyway to have an extra commend before see the record.

Thank you in advance!

Kevin

  • Kevin666 Profile Picture
    on at
    RE: How does the Customer Service Portal cache works

    Hi Leah,

    That's the solution which I just want! And I also understand why the case is synchronized immediately when I tested it before, since the "Change Tracking" option is ticked by default and not able to disable it (maybe MS think it should be enabled for this table).

    Thank you very much!

    Kevin

  • Verified answer
    Community Member Profile Picture
    on at
    RE: How does the Customer Service Portal cache works

    Hi Kevin666, 

    Updates from Dataverse are communicated to the portal in asynchronous mode, so there might be a lag between the time data is updated in Dataverse and the time that updated data appears on the portal. 

    Server-side cache in portals - Power Apps | Microsoft Docs

    Or you can enable 'Change tracking' for the entity and publish the customization, data changes made to CDS entities will be immediately reflect in portal.

    pastedimage1638256763605v1.png

    Speed up your Dynamics 365 portal by following these 2 easy tips (crmsoftwareblog.com)

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,217 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,978 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans