matrix caching container