View Single Post
Old 07-23-2019, 05:48 AM   #2
Brianvoges
Registered User
 
Join Date: Aug 2015
Posts: 27
Default

// create an LRU (least recently used) cache with up to 10 entries
const lru = $cacheFactory('my-cache', { capacity: 10 **);

$http.get('http://pokeapi.co/api/v2/pokemon/1/', {
cache: lru
**);


Mesh Chair Manufacturer in Delhi | WorkStation Chair Manufacturer in Delhi
Brianvoges is offline   Reply With Quote