Add view cache and use cache digest to resolve dependency.