Fix cache backend fallback

Closes #225
Closes #226