configurable caching in console.js