keying cache on filtered paths