unifiy resolve and exteranl caching mechanism