Destroys the Cache object entirely, removing it from the
$cacheFactory
set.
Destroys the Cache object entirely, removing it from the
$cacheFactory
set.
Retrieves named data stored in the Cache object.
Retrieves named data stored in the Cache object.
The key of the data to be retrieved.
The value stored.
Returns information about the cache.
Returns information about the cache.
Object with the following properties:
id
: id of the cache instancesize
: number of entries kept in the cacheInserts a template into the cache.
Inserts a template into the cache.
Template id.
Template content.
The value stored.
Inserts a named entry into the Cache and increments the size of the cache if the key was not already present in the cache.
Inserts a named entry into the Cache and increments the size of the cache if the key was not already present in the cache. If behaving like an LRU cache, it will also remove stale entries from the set.
It will not insert undefined values into the cache.
The key under which the cached data is stored.
The value to store alongside the key. If it is undefined, the key will not be stored.
The stored value.
Removes an entry from the Cache object.
Removes an entry from the Cache object.
The key of the entry to be removed.
Clears the cache.
Clears the cache.
Template cache API.
https://docs.angularjs.org/api/ng/service/$templateCache