workaround: don't import cache to avoid cyclic import

I don't quite understand why this cyclic import happens in the kotti
branch in particular, but as this branch is meant to be replaced anyway,
let's codify this workaround in that branch.