Server-side cache in portals
As a portal administrator, you can clear the server-side cache for the entire portal so that updated data from Microsoft Dataverse is immediately reflected on the portal. 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. To eliminate this delay—for example, when it interferes with portal configuration—you can force the portal to refresh its cache immediately.
- Clearing the portal server-side cache or the configuration tables cache causes temporary performance degradation of the portal while data gets reloaded from Dataverse.
- Changes to the configuration tables, or publish changes actions should be performed during non-peak hours. Frequent or too many table changes may adversely affect portal performance.
- The SLA for cache refresh (data transfer between Dataverse and portal) is 15 minutes.
- Power Apps portals with version 9.2.6.x or later have improved caching. For more information, go to Caching changes for portals with version 9.2.6.x or later.
Steps to clear portal server-side cache
To clear the server-side cache:
Sign in to the portal as an administrator.
Navigate to the URL as follows:
Select Clear Cache.
The server-side cache is deleted, and data is reloaded from Dataverse.
Capacity based portals have more options on
To learn more about the differences between Power Apps portals and portal add-ons, read Power Apps portals, Dynamics 365 portals and add-on portals.
Portal metadata is stored in tables called configuration tables. If you change configuration tables using the Unified Interface application, you must select Clear config to clear the configuration cache for changes to reflect in your Portal.
List of configuration tables refreshed when you clear config
Clearing the server-side configuration cache for a portal includes refreshing the data from the following configuration tables:
Caching changes for portals with version 9.2.6.x or later
Power Apps portals with version 9.2.6.x or later benefit from improved caching functionality to increase consistency and reliability as follows.
- Capacity-based portals and add-on portals will use the same caching functionality.
- Add-on portals with high load will have improved performance and a reliable data cache refresh.
- No change to SLA for cache refresh (data transfer between Dataverse and portal) mentioned earlier in this article.
- Data changes done using portals will reflect immediately in Dataverse and portals.
- No change to clear server-side cache functionality. You can continue to use this functionality to clear server cache immediately.
1. Can I change the cache refresh duration from 15 minutes to a lesser duration?
No. SLA for cache refresh remains 15 minutes. Any changes from Dataverse will reflect on portals within 15 minutes.
2. I'm using plugins or workflows to update data in other tables and need these data changes to reflect immediately on my portal.
This design approach isn't recommended. Except the primary record where the create or update action is triggered, data reflection from Dataverse to portals is never guaranteed to be immediate.
3. Is there any difference in caching between capacity-based portals and add-on portals?
4. How long does it take for changes to reflect from portals to Dataverse?
Immediately, as long as the update changes a primary record and isn't based on indirect changes to data using plugins or workflows.