Implement repository caching