caching pig