Cache category restriction for on demand restricting logic