Working on removing memory bottleneck for redirect resolution (same approach should also work for category resolution)