Cache category restriction result

Refs #1885