Add speed cache middleware