Split cache statistics middleware