Name compress middleware