Only normalize paths once instead of on every request