How to enable caching in Angular 1.x?

devquora
devquora

Posted On: Feb 22, 2018

 

Caching can be enabled by setting the config.cache value or the default cache value to TRUE or to a cache object that is created with $cacheFactory.
In case you want to cache all the responses, then you can set the default cache value to TRUE.
And, if you want to cache a specific response, then you can set the config.cache value to TRUE.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions