[CF-14] improve servlet filter perf

Is this @ChandraAddala name when he's on the mic?