We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 778741a commit 65c3ba4Copy full SHA for 65c3ba4
app/app.run.js
@@ -39,8 +39,9 @@
39
40
var options = {
41
maxAge: 60 * 60 * 1000, // Items added to this cache expire after 1 hour
42
- deleteOnExpire: 'passive' // Cache will do nothing when an item expires.
+ deleteOnExpire: 'passive', // Cache will do nothing when an item expires.
43
// Expired items will remain in the cache until requested, at which point they are removed, and undefined is returned.
44
+ storageMode: 'localStorage' // This cache will use `localStorage`.
45
};
46
47
$log.debug('Created a default cache for HTTP requests with properties:', options);
0 commit comments