web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Dataverse WebAPI slow ...
Power Pages
Suggested Answer

Dataverse WebAPI slow response caused by cache?

(0) ShareShare
ReportReport
Posted on by 83
I have a question about the WebAPI and slow access to data already in dataverse.

I have JS functionality that uploads a file from the page, to azure and stores the meta data in Dataverse. all working.
 
flow is:
 
1. JS uploads conent to Azure, does some processing and checking and then updates a dataverse table. Working
2. i then check the Model Admin app, and i can see the file registered correctly. All good
3. Its taking at least 5 mins for the content to appear in power pages via the webAPI. it does appear, its just very slow.

i have all the user warnings and auto refresh but wanted to know if anyone has any ideas how to bypass what i assume is a cache?

i have seen that there are 'moans' about this for years so don't have high hopes but worth a try.
Categories:
I have the same question (0)
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    2,318 Moderator on at
    Hi @JBC777,
     
    This delay is caused by Power Pages server‑side caching, not Dataverse. Dataverse updates instantly, but anything rendered through Liquid/Entity Lists can lag ~5 minutes due to aggressive caching.
       
    Fast ways to fix it:
    Bypass Liquid → Read data using Portals Web API (/_api) from JavaScript. This returns live data and avoids the cache entirely.
    If you must use Liquid, add a cache‑buster (e.g., a now condition) to force a fresh fetch.
    As a fallback, you can manually clear cache in Admin Center / /_services/about.
     
    Best practice: For real‑time scenarios, always fetch data via /_api instead of Liquid.
      https://community.powerplatform.com/forums/thread/details/?threadid=70bda703-ce64-f011-bec2-7c1e520b3d67   
     
     
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.
  • Suggested answer
    Lucas001 Profile Picture
    2,567 Super User 2026 Season 1 on at
    Hi @JBC777,
     
    as mentioned in the reply above this is one way doing it.
    You can also force a liquid refresh. @oliver.rodrigues has a great post about it which I tend linking for these cases: https://oliverrodrigues365.com/category/power-apps-portals/caching/
     
    If one or the other answer provides sufficient information please accept one as answer.
  • Suggested answer
    DP_Prabh Profile Picture
    381 on at
    Hi @JBC777,
     For Power pages caching refresh refer these articles. I'm sure these would be helpful:
     
    I hope this would solve your problem. 
    Happy to help!
  • JBC777 Profile Picture
    83 on at
    thanks for the clarification on my wording. its the cache at Power Pages side not dataverse. 

    Thanks for the answers. I am calling the WebAPI direct from Javascript and there is still a delay, so liquid i don't think is involved.
     
    I am going to try and add a timestamp to the query and see if that helps.
  • Suggested answer
    Fubar Profile Picture
    8,512 Super User 2026 Season 1 on at
    FYI
    The Power Pages WebAPI also makes use of the Power Pages Cache, so just calling it may not pull data direct from dataverse that is not already in the cache (particularly if the same query has been run previously).
    As per several of the links already provided in other posts the way to work around the cache is to make your query relatively unique e.g. add a condition to the query that is always true but that contains value that is relatively unique such as Created On is less than today (formatted down to seconds). The system then says I don't recognise that query (as its not been used before) I need to pull the data for it direct from Dataverse. This approach works for both the Portals WebAPI and also if you use Liquid fetchxml (but you don't have the ability to do it for standard lists and subgrids).
     
    For creates/updates that are not direct from the portal (e.g. update to dataverse from another interface e.g. Model Driven app or another API) data is usually pushed to cache within a minute or two, but Microsofts SLA for it is 15 minutes.
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 38

#2
Valantis Profile Picture

Valantis 36

#3
omkarsupreme Profile Picture

omkarsupreme 24

Last 30 days Overall leaderboard