Try our conversational search powered by Generative AI!

CMS 12-Episerver Content Delivery API Caching Issue


Hi Team,

  I have devloped a spa (single page application) in the react technology and one cms application in which I have enabled the content delivery api. Our spa application consuming the content delivery api.   

  When I am upadating and publishing content in the cms application some times updated content immediately not reflecting in the spa applciation.

 I have gone through link . But unfortunately not able to implment in cms 12.

I am not able to find below reference in cms 12




Oct 06, 2022 10:57


You said when you publish content, CDApi is delayed in returning the updated content. Are you looking to remove this delay?

Oct 06, 2022 12:14

Hi Binay,

I think the first thing to do would be to work out where the caching is occurring. Often SPAs will store API responses to avoid making the same request twice so it may be that the content is getting cached in your SPA. I'd say the first thing to try would be to hit the API directly using postman or something like that to request the content for one of the pages where you're seeing the issue. Publish a change in the CMS and hit the API again to see if your change is reflected in the API response.

Oct 06, 2022 12:17

Surjit Bharath Yes, I am looking to remove this delay.

Oct 06, 2022 14:46

I have found the solution and my issue got resolved . Below link is helpful for me.

Oct 13, 2022 14:33
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.