Add default cache-reading middleware