fix botched rebase in cache.js (bug 1056244)