Re-added mini-panels cache patch from @tomjjames.

## Ready State: Yes