And in general, any savings you could gain by caching will be outranked by any shortfalls caused by corruption. If your data can become stale, inconsistent, corrupted, or worse sabotaged, its not worth the speed gains. So generally, security should come first, as all the efficiency in the world won't help you if your data gets compromised.