You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide an example how to use polyfills for the localstorage or session storage.
For example store.js is a pretty good polyfill. How to do I wrap the functionality of store.js so I can pass it into the cache factory.
I know you have said it needs setItem... etc, but there's no documentation on what the interface of those methods need to be. Such as parameters and what should return, and most importantly the actual intention of those methods.
store.js appears to be a wrapper and polyfill for localStorage, exposing a completely different API to the developer. To use store.js you would need to create a proxy JavaScript Object that wraps the store.js API and exposes the standard W3C recommended API to angular-cache. For example:
Show how to use $angularCacheFactory with the $http service, for example.
The text was updated successfully, but these errors were encountered: