providing caching layer for environments