My PHP REST API returns the last modified data from server. It will not affect any quick changes in the server. When I call API using the retrofit library in android then JSON response of API came from old data sets. I think this is a caching issue. When I call after some time(30 min) it will respond to the latest data.
How to fix this issue? Please reply to this topic.