rex integration for cache