Tweaked cache example.