Make cache storage pluggable