Update cacheFactory.js

Added the peek() for returning all keys.