AEM 6: Caching REST Web Service call
Hi,
I am calling a REST Web Service to load the data from the back end. Is there any way I can cache the Web Service call since this is the service that loads maximum data.
thanks.
Hi,
I am calling a REST Web Service to load the data from the back end. Is there any way I can cache the Web Service call since this is the service that loads maximum data.
thanks.
You can use angularjs caching module to cache REST responses.
Kindly mind this is purely client side caching, just to give you an idea,.. REST url becomes the key whereas response the object that you cache against it.
For more details checkout below URL: https://github.com/jmdobry/angular-cache
- Runal
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.