optimized view caching