Cache menu for each context affinitic refs #5749