Add basic cacher for library stats so we don't have to call them every time. Cache is stored in session storage.