Forum Discussion

andenagaveni24's avatar
12 years ago

Roku cache responses from Rest API- how can it be fixed ?

Will Roku cache responses from Rest API ??? If so How can i fix it

In my application, i am getting response via Rest calls. When rest call is invoked it is giving the previous response but not the updated response.

For instance when a new user logs in, we are persisting his details into CSV file in a web application. when we try to get the details of registered users via rest call from Roku, we are not able to get the recently added user details but response contains previous user details.

We tried rdn function to bust the cache but for the first time we are able to get the updated users but on next hit it is giving the previous details.

Kindly help us in getting this issue fixed. Please provide code snippet if possible.
No RepliesBe the first to reply