Update cacheFactory.js

Fix typo in documentation.