Updated usage example for caching