Add view cache for all measures in menu
Cache layout segments #52