How to avoid multiple calls when consuming a web service
We all know that service calls are heavy. One service call can take upto 2 seconds or even more than 5 seconds. Sometimes, it depends on the worst project architecture and sometimes we mess with the best practices that every programmer should follow or it could be because of multiple other scenarios.
Today, we will take only one case and see how we can avoid a web service call. Now the question do we need to hit the service every time when we are looking for data.
The obvious answer is NO. Then how we can rely on existing data that could help us in avoiding the service call.
--To be continued...!!