Add caching to case selection screen, and tweak case detail caching