Object cache pattern