Add partial caching support.