Wrap localstorage.cache

...thereby avoiding custom logic in case localStorage is not defined...